Syntax: #if {condition} {commands to do}
When you use the #if command JMC evaluates condition and if the result is different from the 0 (TRUE) value it executes the commands, defined in the second part of #if.
Attention! You cant compare strings. It working only with "digits" - numbers and variables representing numbers.
Example:
#action {HP:%0>} {#if {%%0<50} {recite recall}}
If your hitpoints, displayed in statusline (and parsed through an #action command), are less when 50 then the text "recite recall" will be sent to the MUD as if you had typed them in yourself. The %%0 variable belongs to the action command, and not to the if portion of this example. That’s why the double % are needed.
See also: #math