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


Joined: 31 Dec 2002
Posts: 41
Location: USA

PostPosted: Sat Jan 04, 2003 2:00 am   

Trigger problem
 
can I set a trigger so it will not go off if it did in the last 30sec
Reply with quote
ShadowDrakken
Beginner


Joined: 29 Dec 2002
Posts: 18
Location: USA

PostPosted: Sat Jan 04, 2003 3:00 am   
 
sure, build the trigger this way...

make the trigger activate as a normal trigger taking the actions you want if a specific variable is set to 0, then just add to the end of the trigger a variable that gets switched to 1, and then activates a timer trigger which after 30 seconds changes the variable back to 0

its been too long since I did much zMUD scripting or I'd whip out more exact code for you
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Jan 04, 2003 3:49 am   
 
This is pretty easy with v 6.40. Just use a multistate trigger with the "wait" parameter.
#TR {trigger phrase} {things to do}
#COND {} {#NOOP} {Wait|Param=30000}

LightBulb
Senior Member
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