-
-
Notifications
You must be signed in to change notification settings - Fork 54
Timers
Reetus edited this page Mar 10, 2026
·
303 revisions
Generated on 3/10/2026 3:07:34 AM
Version: 5.0.1+cb2bfafc8ca61e99043cebfbd4c89fcbe562551b
Method Signature:
Void CreateTimer(System.String)
- name: Timer name.
Description:
Create a new named timer.
Example:
CreateTimer("shmoo") Method Signature:
Void RemoveTimer(System.String)
- name: Timer name.
Description:
Removes the named timer.
Example:
RemoveTimer("shmoo") Method Signature:
Void SetTimer(System.String, Int32)
- name: An entity serial in integer or hex format, or an alias string such as "self".
- milliseconds: Integer value - See description for usage. (Optional)
Description:
Set a timer value and create in case it does not exist.
Example:
SetTimer("shmoo", 0) Method Signature:
Int64 Timer(System.String)
- name: Timer name.
Description:
Check for a named timer value.
Example:
if Timer("shmoo") > 10000: Method Signature:
Boolean TimerExists(System.String)
- name: Timer name.
Description:
Returns true if the timer exists.
Example:
if TimerExists("shmoo"): Method Signature:
Void TimerMsg(System.String)
- name: Timer name.
Description:
Outputs the elapsed timer value as a SystemMessage
Example:
TimerMsg("shmoo")