if (%var) { do stuff }
this should trigger if the %var exist. And it do so with value 1, but if the value is set to 0 then it will not trigger, since it exist with the value 0 it should trigger.

mirc version
7.19 and 7.22


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }