WoW:Item equipping: Difference between revisions

m
Move page script moved page Item equipping to WoW:Item equipping without leaving a redirect
No edit summary
m (Move page script moved page Item equipping to WoW:Item equipping without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:


Note that the need for macro juggling to switch equipment is all but gone with the advent of AddOns such as
Note that the need for macro juggling to switch equipment is all but gone with the advent of AddOns such as
[http://www.curse-gaming.com/en/wow/addons-2045-1-itemrack.html ItemRack] or [http://wow.curse-gaming.com/en/files/details/4784/outfitter/ Outfitter]. Heck, it can even be controlled from a macro if you like :-)
ItemRack or Outfitter. These addons can themselves be controlled with macros if you like :-)<!--[http://www.curse-gaming.com/en/wow/addons-2045-1-itemrack.html ItemRack] or [http://wow.curse-gaming.com/en/files/details/4784/outfitter/ Outfitter]. These addons can themselves be controlled with macros if you like :-)-->


== Basics ==
== Basics ==
Line 109: Line 109:


<code>
<code>
/script if ( not CursorHasItem() ) then PickupInventoryItem(17); if ( CursorHasItem() ) then PickupContainerItem(offhandBag, offhandBagSlot); end PickupContainerItem(mainhandBag, mainhandBagSlot); PickupInventoryItem(16); PickupContainerItem(mainhandBag, mainhandBagSlot); end
/script if ( not CursorHasItem() ) then PickupInventoryItem(16); if ( CursorHasItem() ) then PickupContainerItem(mainhandBag, mainhandBagSlot); end PickupContainerItem(offhandBag, offhandBagSlot); PickupInventoryItem(17); PickupContainerItem(offhandBag, offhandBagSlot); end
</code>
</code>


Line 155: Line 155:
/script if ( not CursorHasItem() ) then PickupInventoryItem(17); PickupInventoryItem(16); end
/script if ( not CursorHasItem() ) then PickupInventoryItem(17); PickupInventoryItem(16); end
</code>
</code>
== Simple Macro with item slots ==
<code> /equipslot <inventory number> <bag number> <bag slot number> </code>
Basically this equips the item specified in your bag to the inventory slot indicated by the first number in your macro. An example would be:
<code> /equipslot 16 4 1 </code>
This equips a weapon to your main hand found in your last bag in the first slot. Essentially this accomplishes the same as the scripts from above but with much less characters, leaving your macros free to do other things.


== With Cosmos ==
== With Cosmos ==
Anonymous user