|
jurz Novice
Joined: 22 Feb 2002 Posts: 48 Location: Latvia
|
Posted: Fri Mar 01, 2002 11:12 am
Question on check triggers |
Can you somehow check if trigger or trigger class is on or off?
i.e. I have a trigger that sets combat trigger class off
and I also have tick timer every 60 sec to do command pklist
What I want is to get it to work so that if "combat" trigger class is off
then pklist isn't executed
Thanks in advance
-Jurz |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Fri Mar 01, 2002 11:20 am |
Two related things that will help you with is this on/off:
For classes:
quote:
trigger
Syntax: %trigger(class)
return true if the specified trigger class is enabled. If the class does not exist, -1 is returned. (Same as the %class function)
and for all else:
quote:
defined
Syntax: %defined(s)
returns true of s is a defined alias, variable, macro, or path.
TonDiening
Beta Upgrading to 6.26 |
|
|
|
jurz Novice
Joined: 22 Feb 2002 Posts: 48 Location: Latvia
|
Posted: Fri Mar 01, 2002 11:29 am |
Great, thanks
-Jurz |
|
|
|
|
|