Sell All Junk Grey Items Macro
This macro is super useful for those who farm or just get a bunch of junk items from warcraft mobs. As we all know just vendoring some of these items can fetch up to 2 to 3 gold for each item, after a day of farming that could be an easy additional 50g. This macro will sell all the junk items in your bags, and tell you what its sold.
/script for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) 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




how do we invoke this macro…? I mean do we need to go to a vendor, click the vendor and then run the macro?
August 25th, 2008 at 11:46 pm
Never the less..your website is cool..I’m a beginner in wow..and it has been very helpful to use your macros.both in PVP as the normal quests..
August 25th, 2008 at 11:50 pm
hi Yatish. yes we do need go to to vendor to use this macro. and thanks for the encouragement and i am happy that this site is helpful for you to search for macro. Please do register at the sidebar link if you think you would hang out here ok? Cheers!
August 26th, 2008 at 10:27 am
Doesn’t work for me. An error pops up after running macro with vendor window open. 9/11/08
September 11th, 2008 at 10:56 pm
it really is not working. but with no error. i will try to check if there is typing error. sory.
September 14th, 2008 at 12:29 pm
Make sure you type it not copy-paste cause the quotation marks need to be normal ones, not “curly kind” (all quotes should be ” )
for example, in this bit:
(”Selling “..name)
you should have:
(”Selling “..name)
October 1st, 2008 at 6:56 am
Oh grrr - stupid auto formatting changed my change
ALL QUOTES SHOULD BE JUST A REGULAR DOUBLE-QUOTE MARK
October 1st, 2008 at 6:57 am
ok megan i got it. it should be only like this
”ff9d9d9d”
thanks.
p/s:quickreply
October 1st, 2008 at 11:22 am