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


Joined: 08 Aug 2003
Posts: 8
Location: USA

PostPosted: Sun Jan 23, 2005 7:09 am   

Command for Trigger/Class Enabled/Disabled
 
Is there a function or command that calls to see if a trigger or class is enabled? I.E....

#IF (%classEnabled=1) {say This script is ready to go} {say this script is turned off for your protection.}


Right now I have a variable that says if a class or trigger is enabled or disabled. This is extra work that shouldn't have to be done darn it!! *lol*
Reply with quote
Aarlot
Adept


Joined: 30 Dec 2003
Posts: 226

PostPosted: Sun Jan 23, 2005 7:37 am   
 
From help file:

Syntax: %class(class)

Return true if the specified class is enabled. If the class does not exist, -1 is returned. (Same as the %trigger function)
_________________
Everyone is entitled to their beliefs - until they die. Then only the truth matters.
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