WoW:MACRO equip: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(use of conditionals)
m (Move page script moved page MACRO equip to MACRO equip without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
:equip
:equip
:eq
:eq
edit: I was able to use /eq [nocombat] Fishing Pole
so there are some conditionals still accepted by this command.  Can someone else please test this as well?


== Arguments ==
== Arguments ==
Line 20: 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[edit]

equip
eq

Arguments[edit]

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[edit]

  • 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