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
June 27th, 2008 at 6:39 pm
Wow, that really is an awesome script. I might be adding that one to my list. Nice find!
August 5th, 2008 at 4:59 pm
It’s a ok macro but what would I need to change so it doesn’t do the message thing? It gets really annoying when your doing a few bags of items and your trying to pay attention to chat.
April 23rd, 2009 at 8:54 pm
I dont get it, i see this one everywhere, but the macro never works like it says, am i doing something wrong?
May 20th, 2009 at 1:47 am
I can’t get it to work – do i need to delete some of the spaces you put in the macro or something? Do i have to have my bags open or selected?
June 14th, 2009 at 9:24 am
You should try reading through the script of the macro. It’s pretty obvious that the line, “DEFAULT_CHAT_FRAME:AddMessage(”Selling “..name)” is what adds the message. I’m sure removing that line would eliminate the message. However, the “then” before the message might have to be eliminated too, along with one of the end because you only have 2 actions now, but you should test that yourself to see what’s necessary.
July 12th, 2009 at 5:17 am
this macro doesn’t work