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
Belmyrddyn
Magician


Joined: 17 Oct 2001
Posts: 371
Location: USA

PostPosted: Sat Apr 20, 2002 12:55 am   

Tick Timer Question
 
Is there a way to get the tick timer to execute a function or an alias?

Belmyrddyn
Reply with quote
Charbal
GURU


Joined: 15 Jun 2001
Posts: 654
Location: USA

PostPosted: Sat Apr 20, 2002 2:05 am   
 
quote:

Is there a way to get the tick timer to execute a function or an alias?

Belmyrddyn



You could kludge it by triggering on your TICK IN 5 SECONDS or whatever, but unless there is some good reason to use the tick timer (there usually isn't), just use an alarm and let the tick timer measure ticks:

#ala *60 {dance}

will execute the dance alias every 60 seconds of connect time.



 - Charbal
Reply with quote
Jon Lazar
Newbie


Joined: 20 May 2002
Posts: 3
Location: USA

PostPosted: Sat Apr 20, 2002 11:30 am   
 
I am wondering what about a timer that save my game for me like every minute or every 5 mintues.... how do iset that up?
Reply with quote
Reddytedy
Apprentice


Joined: 13 Oct 2000
Posts: 114
Location: USA

PostPosted: Sat Apr 20, 2002 11:10 pm   
 
quote:

I am wondering what about a timer that save my game for me like every minute or every 5 mintues.... how do iset that up?

#ALARM -60 {#Menu file|save}

Or something very close to that.

Alan



Come play with us in Dragonrealms

http://www.play.net/dr
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Apr 21, 2002 1:37 am   
 
#ALA *5:00 {save}

LightBulb
Vague questions get vague answers
Reply with quote
Pega
Magician


Joined: 08 Jan 2001
Posts: 341
Location: Singapore

PostPosted: Tue Apr 30, 2002 5:11 am   
 
Of course there is a way to make the tick timer execute an alias or function. I make use of the tick timer to watch tick cycles for executing an alias which updates my spell duration guage.

1) Right-click on the timer and open the Tick Dialog. You can then enter commands in the Timer Command space seperated by semicolons ';' or,

2) Use the #TIMER command. Eg. '#TIMER on {timer commands} 0 0', or '#TIMER off {timer commands} 1 5'.
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