Timers - Reetus/ClassicAssist GitHub Wiki
ClassicAssist Macro Commands
Generated on 9/8/2025 3:39:31 AM
Version: 4.5.5+9dcdae3abb08234cd395dd7f71acedb1f8f08c62
Timers
CreateTimer
Method Signature:
Void CreateTimer(System.String)
Parameters
- name: Timer name.
Description:
Create a new named timer.
Example:
CreateTimer("shmoo")
RemoveTimer
Method Signature:
Void RemoveTimer(System.String)
Parameters
- name: Timer name.
Description:
Removes the named timer.
Example:
RemoveTimer("shmoo")
SetTimer
Method Signature:
Void SetTimer(System.String, Int32)
Parameters
- 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)
Timer
Method Signature:
Int64 Timer(System.String)
Parameters
- name: Timer name.
Description:
Check for a named timer value.
Example:
if Timer("shmoo") > 10000:
TimerExists
Method Signature:
Boolean TimerExists(System.String)
Parameters
- name: Timer name.
Description:
Returns true if the timer exists.
Example:
if TimerExists("shmoo"):
TimerMsg
Method Signature:
Void TimerMsg(System.String)
Parameters
- name: Timer name.
Description:
Outputs the elapsed timer value as a SystemMessage
Example:
TimerMsg("shmoo")