@ifelse - luxembourg/muxcode-clm GitHub Wiki

@IF

COMMAND: @if <string>=<true>[,<false>]

Checks if <string> evaluates to a true value. If so, the command <true> is performed. If not, <false> is (if present). This command can also be called as @ifelse.

Examples: > think money(me) 150 > @if [gte(money(me),1)]=say I have money., say I'm broke! You say, "I have money."

Related topics: @switch, ifelse(), switch().