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


Joined: 02 Oct 2001
Posts: 76
Location: USA

PostPosted: Sat Aug 10, 2002 9:40 pm   

Tick Timers?
 
I know how to run a single tick timer
i was wondering how to run multiple tick timers, mabye one for 3 seconds while the other runes every twenty
is this even possible?
if so how
thanks

forgot to add, is there a way to create a timer from the prompt? and is there a way to disable it from the prompt but not delete it?

--------------------------------------------------

"They tell Soze they want his territory - all his business. Soze looks over the faces of his family... Then he showed these men of will what will really was."
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Aug 10, 2002 9:50 pm   
 
The tick timer (there is only one) is designed to track just that, MUD ticks. For anything else involving time, you should use alarms. If, for example, you need to execute something every three seconds, you use an alarm like this one:
#ALARM {*3} {commands}

Kjata
Reply with quote
Apollyon
Wanderer


Joined: 02 Oct 2001
Posts: 76
Location: USA

PostPosted: Sat Aug 10, 2002 9:54 pm   
 
now how do i turn off alarms? possibly could you tell me how to do so from the command line

--------------------------------------------------

"They tell Soze they want his territory - all his business. Soze looks over the faces of his family... Then he showed these men of will what will really was."
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Aug 10, 2002 10:09 pm   
 
First, give the alarm and ID. You can give an ID to an alarm either through the Settings Editor: in the Options tab for that alarm. You can also give an ID to an alarm when creating it in the command line. Example:
#ALARM "myAlarm" {*3} {commands}

To disable the alarm, you then do:
#T- ID

and to enable it:
#T+ ID

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