Macro

Description
Lists all current macros, creates a new macro, or manages the macros created.

Macros can be removed with #unmacro.

Syntax
#macro #macro #macro clear/load/save/edit

Parameters

 * (none)
 * lists all current macros in effect

Alternative Syntax

 * keys
 * as {key[, key]} and identified by #keys
 * command
 * executes the command when the key combination is pressed

Alternative Syntax

 * load
 * loads all current saved macros
 * save
 * saves all current macros
 * edit
 * opens the macro config file for editing

Examples
#macro {Escape, Shift} {#if {$scriptIsPaused} {#script resume; #var scriptIsPaused 0; #echo all scripts resumed} {#script pause all; #var scriptIsPaused 1; #echo all scripts paused}} Result: Pauses or resumes all active scripts when Shift + Esc is pressed.