WoW:Item equipping: Difference between revisions

no edit summary
No edit summary
Line 119: Line 119:
<code>
<code>
/script if ( not CursorHasItem() ) then PickupContainerItem(mainhandBag, mainhandBagSlot); PickupInventoryItem(16); PickupContainerItem(mainhandBag, mainhandBagSlot); end
/script if ( not CursorHasItem() ) then PickupContainerItem(mainhandBag, mainhandBagSlot); PickupInventoryItem(16); PickupContainerItem(mainhandBag, mainhandBagSlot); end
</code>
=== Swap Mainhand and Offhand Weapons ===
This script is pretty simple.  On my rogue I wanted to switch my offhand to my mainhand, and vice-versa (use dagger for ambush, then swap so I can SS with the sword).  You can accomplish this with a very simple macro that will swap back and forth each time you use it.  -- [[User:Loganis|Loganis]]
<code>
/script if ( not CursorHasItem() ) then PickupInventoryItem(17); PickupInventoryItem(16); end
</code>
</code>


Anonymous user