In Game Script to Sell all Grey Items at Once

12/16/2005 22:03 dernacktekaiser#1
Found this:

Here's a good macro/script I came across to sell all your grey items at once.......since they are pretty much useless. Came in handy for me! Before using ensure you have a window up at a vendor, or it won't work.

Code:
/script for bag = 0,4,1 do for slot = 1, GetContainerNumSlots(bag), 1 do local name = GetContainerItemLink(bag,slot); if name and string.find(name,"ff9d9d9d") then DEFAULT_CHAT_FRAME:AddMessage("Selling "..name); UseContainerItem(bag,slot) end; end; end
12/17/2005 12:48 TimeShock#2
[Only registered and activated users can see links. Click Here To Register...]

I use Autoprofit since a long time now and i don't have to use a slot or a macro.

You get a new button in each vendor frame, just press once and sell all gray loot. :)