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


Joined: 22 Sep 2004
Posts: 8

PostPosted: Sun Dec 05, 2004 10:55 pm   

Timer or Wait or something
 
This is what I want to do... I want to have multipile timers (at differing intervals) which reset when I recieve a line from the MUD. For example:

Trigger line
(timer resets to 2.5 seconds)
.
.
.
.
(1.7 seconds later)
Trigger line
(timer resets to 2.5 seconds)
.
.
.
.
.
.
.
.
(2.5 seconds later)
Command is input
(timer resets to 2.5 seconds)


Thanks, any help will be appreciated.
Reply with quote
Kiasyn
Apprentice


Joined: 05 Dec 2004
Posts: 196
Location: New Zealand

PostPosted: Sun Dec 05, 2004 10:59 pm   
 
#TRIGGER {Trigger line} {#untrigger myalarm;#ALARM "myalarm" {+2500} {command}}
_________________
Kiasyn
Owner of Legends of Drazon
Coder on Dark Legacy
Check out Talon, an easy IMC connection.
Reply with quote
njms
Newbie


Joined: 22 Sep 2004
Posts: 8

PostPosted: Sun Dec 05, 2004 11:19 pm   
 
Wow, what and incredibly quick and helpful post. Thanks! That does the job.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Mon Dec 06, 2004 2:20 am   
 
Actually there is no need to #UNTRIGGER it Naming your alarm will let it be overwritten and also we don't want a 2,500 second alarm :P

#TRIGGER {trigger line} {#ALARM "myalarm" {+2.5} {command}}
_________________
Zmud Support Library
Zmud Knowledge Base
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