 |
biocdkt Newbie
Joined: 08 Aug 2003 Posts: 8 Location: USA
|
Posted: 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* |
|
|
 |
Aarlot Adept

Joined: 30 Dec 2003 Posts: 226
|
Posted: 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. |
|
|
 |
|
|