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
undergod
Wanderer


Joined: 27 Jun 2001
Posts: 82

PostPosted: Fri Jan 04, 2002 10:12 pm   

Quick alarm question
 
Okay, I've looked at the helpfile.. and I'm under the impression that it matches a time and goes off everytime that time is matched. IE, every 20 minutes it saves.

How can the alarm be used to act like the #WAIT function? Say, what would be the equivalent of - #wait 1000 ?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Jan 05, 2002 12:17 am   
 
The best way is to take the rest of the script for the trigger or alias and dump it into another alias. Then you alarm for a wait of 1000 would be:
#ALARM {+1} {newalias}

Remember wait was timed in milliseconds so 1000 there is 1 second which is what the +1 means.
Reply with quote
undergod
Wanderer


Joined: 27 Jun 2001
Posts: 82

PostPosted: Sat Jan 05, 2002 1:18 am   
 
Okay... so you can put {+3} instead of an actual time.. and it will only fire once, in three seconds? That's exactly the answer I was looking for :)
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