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
Amok
Beginner


Joined: 31 Jul 2003
Posts: 22

PostPosted: Tue Oct 14, 2003 3:34 am   

#IF
 
The #IF command can only be used when there are numbers correct?


Then how would I say if (%1 = Group) then do blah ?
Reply with quote
Davos
Adept


Joined: 30 Jan 2003
Posts: 228
Location: USA

PostPosted: Tue Oct 14, 2003 3:39 am   
 
#IF (%1 = "group") {Bleh}
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Oct 14, 2003 4:25 am   
 
quote:
The #IF command can only be used when there are numbers correct?


No, not correct. It can be used with any logical test. That certainly includes both string comparisons and list membership.
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