Originally Posted by yssaril
Thanks for the reply works beautifully and I feel like a nub
also another question i know how to search through my bags but how do i make a script that searches though my bank when it is opened?
|
Code:
for i=5, 10 do
bagSlots = GetContainerNumSlots(i);
bagId = BankButtonIDToInvSlotID(i, 1);
if (bagSlots > 0) then
for j=1, bagSlots do
itemLink = GetContainerItemLink(i, j);
-- etc
If you also want to know the type of bags in the expansion slots, use
Code:
GetInventoryItemLink("player", bagId)