|
ragautier Beginner
Joined: 11 Aug 2007 Posts: 29
|
Posted: Tue Sep 11, 2007 12:49 pm
Conditional Expression? |
Is there an iif()-like function in cMUD? I want to set as status text something like:
#STATUS iif(@sanc,"SANC","nosanc")
Aside from setting the sanc value to the string itself, how can I do this? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Sep 11, 2007 1:20 pm |
Yes there is it is %if, and you got the rest of the syntax right.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|