/run for bag=0,4,1 do for slot=1,C_Container.GetContainerNumSlots(bag),1 do local name=C_Container.GetContainerItemLink(bag,slot) if name and string.find(name,"") then DEFAULT_CHAT_FRAME:AddMessage("-Sell: "..name) C_Container.UseContainerItem(bag,slot) end end end