|
adamwalker Apprentice
Joined: 12 Mar 2005 Posts: 195
|
Posted: Tue Nov 14, 2006 1:24 pm
[1.15] 0s and 1s tagged onto results |
If varone and vartwo equal "0" then the output is...
kill rabbit 1 1
Code: |
#if ((@varone = 0) or (@vartwo = 0)) {kill rabbit} |
and
Code: |
#if ((@varone = 1) and (@vartwo = 1)) {kill rabbit} |
returns "kill rabbit 1 1 1" |
|
|
|
saet Apprentice
Joined: 12 Jun 2006 Posts: 106
|
Posted: Tue Nov 14, 2006 2:58 pm |
Works for me.
|
|
|
|
adamwalker Apprentice
Joined: 12 Mar 2005 Posts: 195
|
Posted: Tue Nov 14, 2006 3:57 pm |
hmmm, is working for me too on reinstall. how odd
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Nov 14, 2006 5:30 pm |
OK, that's just really wierd. I don't even know how I could make the code do this on purpose if I wanted to.
|
|
|
|
|
|