|
jorvis01 Newbie
Joined: 14 Jan 2011 Posts: 4 Location: US
|
Posted: Tue Jan 25, 2011 3:14 pm
Unmatched brackets...AH! |
I don't code. This is an attempt to do something I can't do.
Code: |
#IF (@balance=0 and @EQ=0){
#IF @sprawled=1{stand}}
|
Quote: |
ERROR: Syntax error in Alias: curevar : unmatched braces |
It's something so simple but I can't figure it out. That code seems like it shouldn't have an ERROR. |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Tue Jan 25, 2011 4:28 pm |
You didn't put parentheses around the second #IF test. This is the correct format:
Code: |
#IF (@balance=0 and @EQ=0) {
#IF (@sprawled=1) {stand}}
|
|
|
|
|
jorvis01 Newbie
Joined: 14 Jan 2011 Posts: 4 Location: US
|
Posted: Tue Jan 25, 2011 10:42 pm |
Yes! Thank you!
|
|
|
|
|
|