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


Joined: 14 Nov 2001
Posts: 37
Location: Poland

PostPosted: Wed May 15, 2002 2:22 pm   

How to stop executing trigger for next 60 seconds?
 

Hi

How to make trigger to be disable (do not work) for 60 seconds after last execution?

Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed May 15, 2002 3:13 pm   
 
Create a variable to decide if the trigger should be executed and have the value changed by a temporary alarm. Example:
#VAR execute 1
#TRIGGER {pattern} {#IF (@execute) {commands;#VAR execute 0;#ALARM +60 {#VAR execute 1}}}

Kjata
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