Edit timer

Every interval:

For timers that fire at intervals (eg. every 5 minutes), fill in the next 6 boxes as required.

hour

How many hours apart.

minute

How many minutes apart.

second

How many seconds apart.

Offset:

The offset is used to make a timer fire a fixed amount before its interval elapses. This is useful to "stagger" timed events. For example, if you wanted to have your character:

pose looks around vaguely

every 2 minutes, and

pose scratches his head

every 2 minutes (but in-between the other "pose") then you would set both timers to go off at 2 minute intervals, but have one of them have a 1 minute offset. If you didn�t do that then both timers would go off every 2 minutes, displaying both messages in quick succession.


hour

Offset in hours.

minute

Offset in minutes.

second

Offset in seconds.


At the time:

Click on this to have a timer fire at a particular time of the day (using a 24-hour clock). This sort of timer will then fire at that time, every day.

hour

Hour to fire.

minute

Minute to fire.

second

Second to fire.

Send:

What to send when the timer fires.

(...)

Click on the button labelled "..." to open a larger box for editing the timer send text.

Alternatively press Alt+Enter to open the editing dialog box.

Only Fire Once

If checked, the timer only fires once, and then deletes itself.

Temporary

If checked, the timer is not saved in the world file.

Active When Disconnected

If checked, the timer will fire even if the world is not connected. This lets you make a "reconnect" timer, for example.

Send To:

Where to send the timer send text to. The default is to the MUD. However you can choose other places, such as the output window, a notepad window, or make the timer "send to script" in which case the timer "send" text can be script commands.

If you send to "execute" then the send text is evaluated through the command processor, so you can then have an alias inside a timer if you want.

The "send-to" box lets you choose to send the "send" text to one of: Variable:

If you have set the timer to "send to variable", place the variable name here.

Label:

Timers can have names - put the name in the "label" box.

Rules for names

Names of triggers, aliases, timers and variables must follow these rules: Enabled

If checked, the timer is enabled (active).

Script:

If you have a script file, the timer will call a script in it if you place the script function name here. The script function must be declared with one argument: the timer name. For example, in VBscript:

sub my_timer_function (name) 
 world.note "timer " & name & " called." 
end sub 
However in Lua all arguments are optional (as is usual with Lua function calls).

Group:

Timers can be placed in groups. If you want to group your timers place the group name in the group box. You can use groups to enable/disable or delete groups of timers.

Topics

Functions