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
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Sun Apr 25, 2004 4:14 am   

Synchronizing the Timer
 
What would I need to make my trigger do to make it synchronize the tick timer? I thought it was #SYNC so I made #TRIGGER {You are hungry.} {#SYNC} But it said it was a syntax error...
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Apr 25, 2004 4:54 am   
 
My baloney has a first name its H E L P, My baloney has a last name its F I L E S

#HELP TIMER refers to.....
#HELP TS

TSET
Syntax: #TS [value]
Related: #TIMER #T?
Sets the value of the timer and starts the countdown. At 5 seconds before the counter hits zero the string TICK IN 5 SECONDS. is displayed on the screen. If the value is omitted, then the origin of the timer is reset.
This timer is typically used to time ticks in the MUD. To get started, enter #TS value where value is the approximate time between ticks. When a tick actually arrives, enter #TS without a parameter to fine tune the timer interval. You can then set up an action that triggers on the TICK IN 5 SECONDS. string to perform an action such as resting.

TS example
#TS 60
set the tick timer to 60 seconds and begin the countdown
#TS
refine the timer interval. Use this when the tick actually arrives.

#TRIGGER {^You are hungry.$} {#TS}
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