Posted on: 09-23-2012 - Updated on: 02-01-2014 - viewed 12647 times
Description:
This Wow macro sells all of the items in your backpacks that are grey value. It’s great for leveling, especially now that MoP is coming out. There is no confirmation, so make sure there is nothing in there you want. But you can still just get it back from the vendor. It also prints in the chat window “sold” and item name, quantities and value.
/run local y,i,n,v=0;for x=0,4 do for s=1,GetContainerNumSlots(x)do i={GetContainerItemInfo(x,s)}n=i[7]if n and string.find(n,"9d9d9d")then v={GetItemInfo(n)}q=i[2]y=y+v[11]*q;UseContainerItem(x,s)print('sold',n,q)end;end;end;print(GetCoinText(y))