|
dazed-n-confused999 Wanderer
Joined: 03 Aug 2004 Posts: 79
|
Posted: Sat Jul 18, 2009 12:19 am
help with syntax error please |
#IF (%ismember( DESPAIR, @POTIONCURES) and (@enemy not= 5)) {CON} {MEG}
trying to get my cure system to change curing methods depending on if Im fighting a certain character class
the single cure method works fine: #IF (%ismember( DESPAIR, @POTIONCURES)) {CON}
ERROR: Syntax error in Alias: potioncure : illegal character in expression: t
thats the error message it gives.
I'm concerned that even if I get the expression to work, it may not work correctly.
For example, If the ismember check comes up false but the enemy check is true, then its going to try to heal via the second method which is undesireable.
If anyone has a suggestion on how to solve this give me a hint will ya.
Just making the original statement work would be a help however, I can create alternate healing aliases or some other pain in the ass way to deal with it. |
|
|
|
Progonoi Magician
Joined: 28 Jan 2007 Posts: 430
|
Posted: Sat Jul 18, 2009 12:40 am |
Code: |
#IF (%ismember( DESPAIR, @POTIONCURES) and (@enemy != 5)) {CON} {MEG}
|
|
|
_________________ The Proud new owner of CMud.
--------------------------------
Intel Core i5-650 3,2GHz
4 DD3 RAM
GTX 460 768MB
Win 7 Home Premium 64x
-------------------------------- |
|
|
|
|
|
|
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
|
|