 |
Inflammable Newbie
Joined: 08 Aug 2009 Posts: 1 Location: INA
|
Posted: Mon Aug 24, 2009 2:27 pm
Tick Timer |
| Quote: |
TIMER
Syntax: #TI timer-state {commands} message-flag margin
Related: #T? #TS
Toggles the timer. If the timer is off, it is turned on. If it is on, then it is turned off. Note that the amount of time left in the timer is not effected by this command.
The optional timer-state parameter is used to determine whether to turn the timer on, off, or if missing, just toggle the current timer state. The optional commands parameter is used to specify the commands to execute when the timer is about to expire. The optional message-flag is used to specify whether a message is displayed to the screen when the timer is about to expire. If this flag is 0 (false) then no message is displayed. The default for this parameter is true, or whatever value has been set in the Timer preferences screen. The margin parameter determines how many seconds before the tick timer expires that the message is displayed and the command is executed. |
Hello, can anyone help me with this tick timer? I don't really understand the syntax at all.. Can anyone give me a detailed help and an example for me to use? |
|
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Aug 24, 2009 8:15 pm |
#TIMER -- toggles the timer on or off
#TIMER on -- turns timer on
#TIMER off -- turns timer off
#TIMER {#send Kill me} -- toggles the timer and sets the command(s) to execute before the timer expires
#TIMER off {#send Kill me} "time's running out" -- turns off the timer, sets the command, and sets a message to display before the timer expires
#TIMER on {#send kill me} "time's running out" 10 -- turns the timer on, sets the command, sets the message, and says the command and message are sent 10 seconds before the timer runs out
If the tick timer is turned on, it will count down to zero, firing its command and message at the specified point before zero, and then reset itself to its starting point and start over. To set the starting point, use the #TSET command. |
|
|
|
 |
|
|
|
|
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
|
|