Crossfire Server, Branches 1.12  R18729
Custom timers

It is possible, through the functions in the timers.c file, to create custom timers that get activated after some specified time.

A timer is associated to a specific object, and is given a delay, either in server ticks or in seconds. When the delay expires, and if the item still is valid, an EVENT_TIMER is generated for the specific object. Actual handling is thus delegated to plugins.

Note that timers are one shot only, they reset after they activate.