-
Notifications
You must be signed in to change notification settings - Fork 113
Client macro object class
Valentyn edited this page Mar 2, 2018
·
11 revisions
Command format:
NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);
- void macro.AddAction('action', ['subAction']);
Add action entry to macros.
- void macro.Play([waitWhileMacroPlaying=false], [delay=100500]);
Play macro in client.
Attention! Only 1 macro can be played in client at a time!
Multiple requests to play a macro while there's a macro already playing will cancel each other out. Last requested macro will be played.
waitWhileMacroPlaying - will wait if there's a macro already playing.
delay - delay to wait for current macro completion.