GetInventoryIndexOfItemType
not ratedWorks the same way as the blizzard.j function, but works with 0-based slot indices.
Returns the 0-based slot index of the specified item type.
Are there more than 1 items of this type it returns the slot index of the first item it finds (= the one with the lower slot index).
Returns -1, if it can't find an item of that type.
Returns the 0-based slot index of the specified item type.
Are there more than 1 items of this type it returns the slot index of the first item it finds (= the one with the lower slot index).
Returns -1, if it can't find an item of that type.