I apologize if this is a repost of the macro and help, but when I searched I found nothing on it.
The macro and tip I will write here is in reference to the guide to get 200k+ gold in 30 seconds:
http://www.mmowned.com/forums/emulat...lds-30sec.html
This macro will let you sell any gray, white, green, rare, epic, or legendary items in your bags all at the exact same time, saving the process of right clicking each and everyone:
/run 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
The current code you see is to sell gray items, if you wish to change it to white (sells the amulets in your inventory from the guide above) then change the (name,"ff9d9d9d") to (name,"ffffffff"). If you wish to sell epics, greens, etc, just look above the color code online, there are many out there; google is your friend!
The next thing is a small tip, that I'm most positive most people to know, but it's for future reference:
When using the macro to buy 249 of an item, you can continue to stack those items by dragging the stack into each other. What this does is adds all but 20 of one 249 stack to the other 249 stack. With this I have a stack of 20000 food and water, potions, enchanting supplies, etc. It's a room-saver for your inventory.
Notes:
Stacking weapons, trinkets, etc., and equipping them does NOT stack the effects.
Unlike the amulets, you must have money in order to do this, if you reach 0 copper it does not continue to buy items.