Logical Operations for /if
Posted: Fri Dec 13, 2002 9:39 pm
Added logical && and || for the /if command
syntax is:
/if <comparison> <command>
where <comparison> is in the form:
[n] <a>==<b> or
(<comparison> && <comparison>)
Note: you need to have the parens and spaces correct...
I've posted the delta to a MSN's free webhosting service (you need to sign in with a passport):
http://groups.msn.com/AshPlayah/Documents/MQDelta2.zip
Sample Code:
Ashplayah
syntax is:
/if <comparison> <command>
where <comparison> is in the form:
[n] <a>==<b> or
(<comparison> && <comparison>)
Note: you need to have the parens and spaces correct...
I've posted the delta to a MSN's free webhosting service (you need to sign in with a passport):
http://groups.msn.com/AshPlayah/Documents/MQDelta2.zip
Sample Code:
Code: Select all
/if ($char(hp,pct)<60 && $char(mana,pct)>80) /call HealSelf