malas Newbie
Joined: 21 Jan 2004 Posts: 4
|
Posted: Sat Jan 24, 2004 8:05 pm
problems with #if/%if |
Has anyone else had a problem posting an if/else combination. Whenever I just use the true value of the if it works fine, but if I add the false value it just dumps everything to the mud.
example
#if (@a) {#var b 2}
works fine but
#if (@a) {#var b 2}{#var c 3}
dumps "{#var b 2}{#var c 3}" to the mud. It doesn't process anything or send just one, it just dumps everything to the mud. This is a major pain because you have to create multiple #if statements for each case and can cause processing problems with variable states if you are resetting variables used in the #if condition. |
|