Lua EquipBestItem

Lua : EquipBestItem
Equips the best item available into the given slot.

Parameters

 * (slotID)


 * slotID
 * Slot to equip an item into (see slot values).

Slot Values

 * Head = 1
 * Neck = 2
 * Shoulders = 3
 * Body = 4
 * Chest = 5
 * Waist = 6
 * Legs = 7
 * Feet = 8
 * Wrists = 9
 * Hands = 10
 * Finger1 = 11
 * Finger2 = 12
 * Trinket1 = 13
 * Trinket2 = 14
 * Back = 15
 * MainHand = 16
 * OffHand = 17
 * Ranged = 18
 * Tabard = 19