WoW:API AutoEquipCursorItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 6: Line 6:
Example - equips 6 items in sequentional backpack slots.
Example - equips 6 items in sequentional backpack slots.
  /script i=2; while i<=8 do PickupContainerItem(0,i); AutoEquipCursorItem(); i=i+1; end;
  /script i=2; while i<=8 do PickupContainerItem(0,i); AutoEquipCursorItem(); i=i+1; end;
[[Category:API Functions|AutoEquipCursorItem]]
[[Category:API Cursor Functions|AutoEquipCursorItem]]
[[Category:API Inventory Functions|AutoEquipCursorItem]]

Revision as of 17:51, 29 August 2005

AutoEquipCursorItem();

straight forward, it equips the item currently on the cursor.


Example - equips 6 items in sequentional backpack slots.

/script i=2; while i<=8 do PickupContainerItem(0,i); AutoEquipCursorItem(); i=i+1; end;