Skip to content
Luxembourg edited this page Mar 19, 2013 · 3 revisions

@if

command: @if =[,]

checks if evaluates to a true value. if so, the command is performed. if not, 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().

Clone this wiki locally