Skip to content
Reetus edited this page Mar 10, 2026 · 303 revisions

ClassicAssist Macro Commands

Generated on 3/10/2026 3:07:34 AM
Version: 5.0.1+cb2bfafc8ca61e99043cebfbd4c89fcbe562551b

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")  

Clone this wiki locally