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


Joined: 08 Nov 2000
Posts: 21
Location: USA

PostPosted: Mon Jan 07, 2002 8:12 pm   

Easy equation. Except I'm Retarded.
 
All I need to do folks is find out how to use the %if command to see if a class is turned on/off. then issue a command based on whether it was on/off.

I searched and searched for threads but none relating to exactly this. Even though I've seen one before and wrote it down and lost it. Anyhow, help would be appreciated!

Thank you.
Reply with quote
Altan
Beginner


Joined: 09 Mar 2001
Posts: 12

PostPosted: Mon Jan 07, 2002 9:03 pm   
 
#IF (%trigger(ClassToCheck)=0) {CmdIfOff} {CmdIfOn}

You can change the 0 to 1 and switch the "on" and "off" order if you want, but it gives you the idea of how it works.
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