Skip to content
Reetus edited this page Sep 2, 2024 · 278 revisions

ClassicAssist Macro Commands

Generated on 9/2/2024 10:46:49 PM
Version: 4.425.19+0c26057dbb7e7e285dbbb7378d1639f9d9112e29

Macros

IsRunning

Method Signature:

Boolean IsRunning(System.String)

Parameters

  • name: Macro name.

Description:

Returns True if the specified macro name is currently running

Example:

if IsRunning('macro'):  

PlayCUOMacro

Method Signature:

Void PlayCUOMacro(System.String)

Parameters

  • name: Macro name.

Description:

Plays the specified CUO macro name

Example:

PlayCUOMacro('Paperdoll')  

PlayMacro

Method Signature:

Void PlayMacro(System.String, System.Object[])

Parameters

  • name: Macro name.
  • args: Comma seperated list of parameters.

Description:

Plays the given macro name.

Example:

# Play another macro

PlayMacro("beep")

# Play another macro passing parameters to it

PlayMacro("beep", 1, "moo")

# In the played macro, args[0] will be 1 and args[1] will be "moo"  

Replay

Method Signature:

Void Replay(System.Object[])

Parameters

  • args: Comma seperated list of parameters.

Description:

Replay the current macro

Example:

Replay()  

Stop

Method Signature:

Void Stop(System.String)

Parameters

  • name: Macro name. (Optional)

Description:

Stops the current macro.

Example:

# Stop the current macro
Stop()
# Stop a macro by name
Stop("Background Macro")  

StopAll

Method Signature:

Void StopAll()

Description:

Stops all running macros including background macros.

Example:

StopAll()  
Clone this wiki locally