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
Malleus
Novice


Joined: 05 Jan 2003
Posts: 45
Location: USA

PostPosted: Thu Mar 13, 2003 1:42 am   

Customizing tick timer
 
How would I make a trigger that would set off the tick timer?

Everytime I see: Your legs run away with you
I want to set the tick timer to do 'hp' every 10 seconds, then when i see my hp is at '546/546' i want the tick timer to turn off...?

/ Malleus /
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Mar 13, 2003 3:50 am   
 
You are using the tick timer for something other that what it is meant to be used. Try using an alarm instead. Example:
#TRIGGER {Your legs run away with you} {#T+ hpalarm}
#ALARM "hpalarm" {*10} {hp}
#TRIGGER {Hp: (%d)/(%d)} {#IF (%1 = %2) {#T- hpalarm}}

Kjata
Reply with quote
Malleus
Novice


Joined: 05 Jan 2003
Posts: 45
Location: USA

PostPosted: Thu Mar 13, 2003 4:15 am   
 
wow, really helpful...thanks alot Kjata :)

/ Malleus /
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