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 /buyitem <quantity#>
Description Will buy the specified quantity (# number) of the currently selected item



For example, when in Guild Hall at Merchant Yenny Werlikanin with the following item selected


The command /buyitem 5 will purchase 5 Class I Augmentation Distiller (so long as you have the funds available!)

See also