Navigation
Addons
Plugins
Navigation
Addons
Plugins
The timer library implements helpful functions to create timer based function calls for addons.
The following functions are exposed by this library:
void timer.RemoveTimer(string name);
boolean timer.IsTimer(string name);
boolean timer.Once(number delay, function func, paramlist …);
void timer.Create(string name, number delay, number reps, function func, paramlist …);
boolean timer.StartTimer(string name);
boolean timer.AdjustTimer(string name, number delay, number reps, function func, paramlist …);
boolean timer.Pause(string name);
boolean timer.Unpause(string name);
boolean timer.Toggle(string name);
boolean timer.Stop(string name);
boolean timer.Pulse(string name);