WoW:MACRO equip: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(use of conditionals)
(Moved last edit to notes section and included example.)
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

Revision as of 19:28, 13 April 2010

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