contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif TinTin #tick command

This command will display the number of seconds remaining until the next TinTin tick. TinTin ticks are useful for performing periodic functions. You turn them on with the #tickon command and off with the #tickoff command. The time in seconds between ticks can be set with the #ticksize command.

When the tick occurs, you will receive the following message:

# TICK. (TinTin)

If your tick interval is greater than 10 seconds, you will also receive the following message:

# 10 seconds to tick. (TinTin)

Both of the preceding messages are special in that they can be influenced by actions. See the example below.

Also note that the string ‘TinTin’ in the tick notifications may be overridden with your own unique key via the #tickkey command. It’s a good idea to do this, as it keeps nasty folks from sending you erroneous tick events.

Example

The following commands will set a tick to go off every 5 minutes (300 seconds). When the tick occurs, the player will automatically heal via an action that watches for the tick:

#ticksize {300}

#tickon

#tickkey {XXX-Tick}

#action {TICK. (XXX-Tick)} {heal}

Also see

#tickkey

#tickoff

#tickon

#tickset

#ticksize