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


Joined: 15 Jan 2002
Posts: 2
Location: Norway

PostPosted: 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?
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: 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.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Jan 15, 2002 6:45 pm   
 
#IGnore

LightBulb
All scripts untested unless otherwise noted
Reply with quote
kistad
Newbie


Joined: 15 Jan 2002
Posts: 2
Location: Norway

PostPosted: 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.
Reply with quote
Darker
GURU


Joined: 24 Sep 2000
Posts: 1237
Location: USA

PostPosted: 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.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
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