<!-- An example of the IF macro. --> (set: $var to 1) (if: $var is 1)[The variable is equal to one.]
<!-- An example of the IF/ELSE macros. --> (set: $var to 0) (if: $var is 1)[The variable is equal to one.] (else:)[The variable is not equal one.]
<!-- An example of the IF/ELSEIF/ELSE macros. --> (set: $var to 2) (if: $var is 1)[The variable is equal to one.] (elseif: $var is 2)[The variable is equal to two.] (else:)[The variable is not equal one.]
If the above examples don't solve your problem then you need to supply an example of your code that is not working so we can determine what is wrong.
Comments