WoW:MACRO equip: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Creation)
 
(use of conditionals)
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?





Revision as of 12:07, 12 April 2010

Slash commands


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

/equip item
/equip BagId slot

Aliases

equip
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

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).