function printinventory() local bags = {} inventory:update() for slot = 61, 240 do item = inventory.BagSlot[slot] if item.Available and item.Name ~= "" then table.insert(bags, {Name = item.Name, Id = item.Id, Rlevel = item.RequiredLvl, stats = item.Stats}) end; end; table.print(bags) end