WoW:API UseInventoryItem

From AddOn Studio
Revision as of 07:43, 22 May 2005 by WoWWiki>Ris
Jump to navigation Jump to search

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") );