Sell Macro

It’s for retail only atm until the Item Quality ID information in links is added to Classic versions of the game.

/run c=C_Container for b=0,4,1 do for s=1,c.GetContainerNumSlots(b),1 do local n=c.GetContainerItemLink(b,s) if n and string.find(n, "\124cnIQ0:") then DEFAULT_CHAT_FRAME:AddMessage("- Selling "..n)c.UseContainerItem(b,s) end end end

The poor item quality id. (0) is hard coded to fit into the length limitation.

2 Likes