type /macro
click ‘new’
name the macro and pick an icon and hit ‘ok’
input

/script for bag=0,4 do for slot=1,GetContainerNumSlots(bag) do local i = GetContainerItemLink(bag,slot); if i then local _,link,quality = GetItemInfo(i); if quality and quality == 0 then print(“Selling “..link); UseContainerItem(bag,slot); end end end end

in the edit box, and drag the macro to your toolbar.. clicking this icon while at a vendor will sell all junk (gray) quality items.

ty Zerotorescure for the updated script, without color check but actual quality check.

2 thoughts on “Vendor Junk items macro”


  • By anaalius - Reply

    Nice macro, Will be useful for the archaeologists!

    • By avlox - Reply

      serious.. i had like 50+ of the darn things leveling my rogue off that..

Leave a Reply

Your email address will not be published. Required fields are marked *