Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Khana
Beginner


Joined: 26 Feb 2009
Posts: 27

PostPosted: 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.
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: 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.
Reply with quote
Khana
Beginner


Joined: 26 Feb 2009
Posts: 27

PostPosted: 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
Reply with quote
Khana
Beginner


Joined: 26 Feb 2009
Posts: 27

PostPosted: Tue Mar 03, 2009 1:44 pm   
 
It appears to be working now, thanks.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net