|
Khana Beginner
Joined: 26 Feb 2009 Posts: 27
|
Posted: Tue Mar 03, 2009 12:38 pm
Noob question |
What is not equals? I'm used to !=, but that doesn't appear to work in zscript.
|
|
|
|
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Tue Mar 03, 2009 12:46 pm |
That should work just fine (it's what I always use).
What context are you using it in? If you could paste in the XML for an alias or trigger or whatever where it's not working, we might be able to give you more help. |
|
|
|
Khana Beginner
Joined: 26 Feb 2009 Posts: 27
|
Posted: Tue Mar 03, 2009 1:26 pm |
Code: |
#SWITCH ((@emergency = yes) and (@combat = yes)) {#3 ~~;#3 flee}
((@emergency = yes) and (@combat = no)) {c gate fuyu}
((@emergency = no) and (@loc = Fuyu)) {c gate @leveling}
(@gods = no) {c gods}
((@hp < 80) and (@mana > 10) and (@combat = no)) {c heal}
|
I want it to be
Code: |
#SWITCH ((@emergency = yes) and (@combat = yes)) {#3 ~~;#3 flee}
((@emergency = yes) and (@combat = no) and (@loc != Fuyu)) {c gate fuyu}
((@emergency = no) and (@loc = Fuyu)) {c gate @leveling}
(@gods = no) {c gods}
((@hp < 80) and (@mana > 10) and (@combat = no)) {c heal}
|
But it doesn't recognize that location is not fuyu |
|
|
|
Khana Beginner
Joined: 26 Feb 2009 Posts: 27
|
Posted: Tue Mar 03, 2009 1:44 pm |
It appears to be working now, thanks.
|
|
|
|
|
|