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


Joined: 20 Jan 2004
Posts: 8

PostPosted: Tue Jan 20, 2004 3:53 pm   

Time trigger
 
hello everybody,

i want to make a trigger that has a delay for about 9 secs after the trigger should be activated.. let me give an example.

a search trigger:

you didn't find anything
<wait 9 sec>
search

can anyone help me?
Reply with quote
arnaudmol
Newbie


Joined: 20 Jan 2004
Posts: 8

PostPosted: Tue Jan 20, 2004 4:03 pm   
 
also a trigger or something that would send search every 10 sec is also good
Reply with quote
Morten
Apprentice


Joined: 17 Feb 2001
Posts: 119
Location: Denmark

PostPosted: Tue Jan 20, 2004 4:27 pm   
 
i think the command you are looking for is #wait
To wait 9 seconds:

#wait 9000

So a trigger using this would look something like this:

#trigger {you didn't find anything} {#wait 9000;search}
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Jan 20, 2004 4:30 pm   
 
Since #WAIT has some problems, it is best to use a temporary alarm:
#TRIGGER {you didn't find anything} {#ALARM +9 {search}}
Reply with quote
arnaudmol
Newbie


Joined: 20 Jan 2004
Posts: 8

PostPosted: Tue Jan 20, 2004 4:36 pm   
 
i'll go try it. i'll let you hear if it works
Reply with quote
arnaudmol
Newbie


Joined: 20 Jan 2004
Posts: 8

PostPosted: Tue Jan 20, 2004 4:41 pm   
 
Great.. the alarms one works.. thanks a lot
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