world.ResetTimers

MUSHclient script function (Method)

Resets all timers

Prototype

void ResetTimers();

Data type meanings

Description

Resets all timers for the world. There is no return value.

This function will reset all periodic timers to fire from the appropriate interval from when the "ResetTimers" was done.

WARNING - timers that are not enabled will not be reset. Use EnableTimer first to make sure that timers are enabled, before resetting them, if necessary.

VBscript example

world.ResetTimers

Jscript example

world.ResetTimers();

PerlScript example

$world->ResetTimers();

Python example

world.ResetTimers

Lua example

ResetTimers()

Return value

Nothing.

Related topic

Timers

See also

FunctionDescription
AddTimerAdds a timer
DeleteTimerDeletes a timer
EnableTimerEnables or disables an timer
GetTimerGets details about a timer
GetTimerInfoGets details about a timer
GetTimerListGets the list of timers
IsTimerTests to see if a timer exists
ResetTimerResets a named timer