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
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: Mon Dec 08, 2008 5:25 pm   

#t- trigger/class
 
How do I use #t- to turn off a trigger in a specific class.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Dec 08, 2008 6:49 pm   
 
Give the trigger a unique ID and then use #t- TrigID.

If you simply must have triggers with the same ID, you can do #t- classpath/triggerid. So if your trigger is named "Trig" and is inside a class named "Something", which is in a class "Cheesemonger", you'll do #t- "cheesemonger/something/trig".
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: Mon Dec 08, 2008 7:01 pm   
 
ahh.. i was trying #t- classname/"trigger" =p
too bad can't just have the class that it is in? inside of the whole path shrugs.
oh on that note, if i do end up having the same id triggers, as long as one of the classes isn't none, should it work right without giving the classpath?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Dec 09, 2008 12:15 am   
 
If you have two triggers with the same ID and you just do #t- ID, which one gets disabled depends on the position of whatever ran the #t- command. I wouldn't recommend doing it.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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