WoW:MACRO equip: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Moved last edit to notes section and included example.)
m (Move page script moved page MACRO equip to MACRO equip without leaving a redirect)
 
(No difference)

Latest revision as of 04:48, 15 August 2023

Slash commands


Equips an item in your inventory. There are two valid methods:

/equip item
/equip BagId slot

Aliases

equip
eq

Arguments

item
The name of the item to be equipped.
BagId
The bag the item is in (0 is backpack, etc...)
slot
The slot number, starting at 1.

Notes

  • This will equip the item in the first available slot that it can be put into (similar to right clicking the item in your bag).
  • Some of the conditionals from /cast might work here, such as:
/equip [nocombat] Fishing Pole