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
LEit
Novice


Joined: 27 Jul 2002
Posts: 38
Location: USA

PostPosted: Thu Aug 08, 2002 4:23 pm   

Temp trigger duration
 
If I create a #TEMP trigger, how long does it last? Will anything execpt matching the trigger make it go away?

What I want is to trigger on a certain thing, but if it doesn't happen soon, then for the trigger not to happen, currently I'm using permanent triggers in classes and using #WAIT to disable them after a few seconds (I'll try changing that to alarm, now that I've read about the problems with #WAIT). But I was wondering if #TEMP would make more sense then disabling a class for one trigger.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Aug 08, 2002 4:36 pm   
 
Yeah, the only way temporary triggers go away is by being fired. So, you should stick with enablind/disabling permanent triggers, and you are right, you should use an alarm instead.

Kjata
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Aug 08, 2002 10:51 pm   
 
quote:

If I create a #TEMP trigger, how long does it last? Will anything execpt matching the trigger make it go away?

What I want is to trigger on a certain thing, but if it doesn't happen soon, then for the trigger not to happen, currently I'm using permanent triggers in classes and using #WAIT to disable them after a few seconds (I'll try changing that to alarm, now that I've read about the problems with #WAIT). But I was wondering if #TEMP would make more sense then disabling a class for one trigger.





#ALARM +(your timer interval) {#if (%trigger(triggerID) {#UNTRIGGER triggerID} {#NOOP}}

li'l shmoe of Dragon's Gate MUD
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