Home
About
Policies
FAQ
Forums
Registration
Password Recovery

If (MPI)

From Tapestries MUCK

Revision as of 01:45, 31 March 2007 by Ash-Fox (Talk | contribs)
Jump to: navigation, search

if

{if:check,true}
{if:check,true,false}

This is a simple conditional command. It evaluates the 'check' argument and if it is true, then it evaluates the 'true' argument and returns it's result.

If 'check' does not evaluate as true, then it will evaluate the 'false' argument, if there is one, and returns it's result.

If there is no false argument, and 'check' evaluated false, then it returns a null string.

Example:

Your computer is {if:{eq:2,3},broken!,all right.}
Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox