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 /selectitem <name>
Description Selects items in your inventory when you have a merchant open. Partial match accepted, /selectitem "bottle of" will select a "bottle of vinegar". Exact match also accepted, /selectitem "=bottle of vinegar".



See also