From the wonderful RedGuides Wiki

This command is added by MacroQuest

Syntax Key
Notation Description
Text without brackets or braces Required items
<Text inside angle brackets> Placeholder for which you must supply a value
[Text inside square brackets] Optional items
Vertical bar (|) Separator for mutually exclusive items; choose one
{Text | inside | braces} Set of required items; choose one
Ellipsis () Items that can be repeated
Syntax /keepkeys [ on | off ]
Description Keeps keys that were pressed with /keypress, in their current state when a macro ends. /keepkeys with no arguments displays the current on/off state.



Typing the command /keepkeys in-game produces the following output;


Note: default setting is "on".

See also