WoW:API UseInventoryItem

Revision as of 07:43, 22 May 2005 by WoWWiki>Ris

Use an item in a specific inventory slot.

Syntax

UseInventoryItem( slotID );

Arguments

slotID
The inventory slot ID
You can get the slot ID by using GetInventorySlotInfo(slot)

Example

/script UseInventoryItem( GetInventorySlotInfo("Trinket0Slot") );