|
Eleri at'Xalien Newbie
Joined: 19 Mar 2008 Posts: 5
|
Posted: Sat Jul 19, 2008 5:50 pm
Simple if/then question (Solved) |
This is fairly simple, but I'm ashamed to say, I can't seem to figure out the syntax for CMUD.
Code: |
#VAR test1 1
#VAR test2 2
#IF {@test1 == @test2} {#SHOW true} {#SHOW false}
|
Now, from all the documentation I've seen, that should work and show false. Right now, it always shows true. What am I missing in an if statement? |
|
Last edited by Eleri at'Xalien on Sat Jul 19, 2008 5:57 pm; edited 1 time in total |
|
|
|
Toxic Adept
Joined: 27 May 2008 Posts: 299
|
Posted: Sat Jul 19, 2008 5:55 pm |
#if (@test1 = @test2) {#show true} {#show false}
|
|
|
|
Eleri at'Xalien Newbie
Joined: 19 Mar 2008 Posts: 5
|
Posted: Sat Jul 19, 2008 5:57 pm |
Thanks, I was using the wrong paranthesis.
|
|
|
|
|
|