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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Agroamar
Beginner


Joined: 09 Feb 2002
Posts: 10
Location: USA

PostPosted: Mon Apr 08, 2002 1:53 pm   

Problem with IF statement...
 
Ok, I am trying to figure this out, I am not sure what I am doing wrong, maybe its some weird syntax problem... I looked at the Help in zmud... maybe someone can help here... This is what I have:

#Trigger {has been defeated!!$} {#DELNITEM Mobs 1;#IF (%numitems(@Mobs) = 0) {#SA kill next mob} {#SA Lets go to next room!}}

The if statement just doesn't work... So.. Maybe someone can help... Thanks in advance.
Reply with quote
Agroamar
Beginner


Joined: 09 Feb 2002
Posts: 10
Location: USA

PostPosted: Mon Apr 08, 2002 2:41 pm   
 
I apologize for wasting anyone's time... I feel stupid right about now... I had the true-value, and false-value in the wrong spots... So I switched them around, and all is well... Thanks anyways.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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