|
kistad Newbie
Joined: 15 Jan 2002 Posts: 2 Location: Norway
|
Posted: Tue Jan 15, 2002 10:54 am
turn off triggers |
Hello
I have been pondering on something for quite some time. How do I turn of all triggers using code?
I know I can do this by clicking on the little pistol down to the right, but I want a code for it.
Anyone have any idea? |
|
|
|
mr_kent Enchanter
Joined: 10 Oct 2000 Posts: 698
|
Posted: Tue Jan 15, 2002 4:51 pm |
quote:
Hello
I have been pondering on something for quite some time. How do I turn of all triggers using code?
I know I can do this by clicking on the little pistol down to the right, but I want a code for it.
Anyone have any idea?
#T-
Just like in the help files. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Jan 15, 2002 6:45 pm |
#IGnore
LightBulb
All scripts untested unless otherwise noted |
|
|
|
kistad Newbie
Joined: 15 Jan 2002 Posts: 2 Location: Norway
|
Posted: Wed Jan 16, 2002 9:27 am |
Lightbulb
can you explain a little how #IGnore works? Cant seem to find it in manual
Like how do I turn ALL triggers on again if #IGnore turns them off?
#t- I use for turning of a specific class or trigger, but i Need something to turn of ALL class and triggers in one go. |
|
|
|
Darker GURU
Joined: 24 Sep 2000 Posts: 1237 Location: USA
|
Posted: Wed Jan 16, 2002 2:22 pm |
#ignore is a toggle. Watch the pistol icon while you issue the command, you'll see it turn on and off, just as if you'd clicked on it.
zMUD 6 Online Help: All the power you'll ever need. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Jan 16, 2002 5:21 pm |
From Help Contents, it's listed in the Command Reference folder as IGNORE. It's in the index under "commands IG". You can also find it from the command line with the command
#HELP ignore
As Darker said, it's a toggle. Of course, you'll have to enter the second #IGNORE yourself unless it's within the script for the current trigger. You've turned off triggers so you can't use another trigger to turn them back on.
LightBulb
All scripts untested unless otherwise noted |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Jan 17, 2002 12:52 am |
To paraphraase Zugg you should not use IGNORE in a script as it can produce all sorts of wierd side effects. The easiest way to do it is drag everything into a class lets say "Main". On the options for "Main" set it as default and enable on connect. Then you can use "#T- Main" to turn everything off, including things that would have been creaated in class none before.
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jan 17, 2002 5:26 pm |
That's a good suggestion, but #T- turns off ALL settings within the affected class. #IGNORE affects all classes, but only turns off triggers and other settings remain active. They aren't the same.
LightBulb
All scripts untested unless otherwise noted |
|
|
|
|
|