|
Malleus Novice
Joined: 05 Jan 2003 Posts: 45 Location: USA
|
Posted: Sat Apr 05, 2003 10:03 pm
if statement question |
is it possible to put two tests in one statement, then execture a command if true(or false)..like this:
if my energy is less than 10 AND my hp is greater than 150, then do 'command'.? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Apr 06, 2003 2:00 am |
#IF ((@energy<10)&(@hp>150)) {command}
Read the help page on Expresions. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|