WoW:MACRO equip: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Creation)
 
m (Move page script moved page MACRO equip to MACRO equip without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
:equip
:equip
:eq
:eq


== Arguments ==
== Arguments ==
Line 17: Line 16:


== Notes ==
== 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).
*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 [[MACRO_cast | /cast]] might work here, such as:
/equip [nocombat] Fishing Pole

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