Timers allow you to run a certain script at regular time intervals. You could use this to add a real-time element to your game.
Here's an example of a timer definition block:
define timer <clock> interval <60> action set numeric <minutes; %minutes%+1> enabled end define
The following lines may appear in a timer definition block:
action script
Specifies the script to execute every time the timer "fires".
disabled
Specifies that the timer is not running from the moment the game starts.
enabled
Specifies that the timer is running from the moment the game starts.
interval <seconds>
Specifies how much time elapses between each "firing" of the timer.
See also timeron, timeroff, set interval script commands; timerstate, timerinterval functions.