Using EVAL to make Commando definitions remember its variables/settings ?
Submitted by Tuesday, 25 January, 2005 - 13:50
on
I'm trying to make a Commando files remember it's settings instead of setting the same default value each time.
Instead of this:
<ENTRY LABEL="Custom rule name" VARNAME="ruleName" DEFAULT="all"/>
I want something like this:
<ENTRY LABEL="Custom rule name" VARNAME="ruleName" EVAL="if(ruleName != null) ruleName else "all" "/>
(except the last one obviously doesnt work). Any suggestions?
Instead of this:
<ENTRY LABEL="Custom rule name" VARNAME="ruleName" DEFAULT="all"/>
I want something like this:
<ENTRY LABEL="Custom rule name" VARNAME="ruleName" EVAL="if(ruleName != null) ruleName else "all" "/>
(except the last one obviously doesnt work). Any suggestions?