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
TrEz
Newbie


Joined: 02 Aug 2006
Posts: 5

PostPosted: Wed Aug 02, 2006 8:22 am   

Problems with an #If.
 
I have a problem with this #if, the syntax seems right, I have a lot others which work correctly, and I don't know how ti fix this one.

#if (@level > 89) {
port cougarian
#te 14943
} {
/e
run 2s17e2s6en15e21s6e3n2e5n2e2n
#te 14943
}

There's only one @level, has a value of 170. The #if executes the second part of the @if, when it should the 1st one... What's wrong with this? It's in an alias. I have another similar alias which works with @level > 160. zMud is ver. 7.21
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Aug 02, 2006 10:06 pm   
 
either @Level is changing to be <= 89, or you have a second @Level variable somewhere.
_________________
EDIT: I didn't like my old signature
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