VaultNetwork.net Vault Network Boards
Author Topic: Cool macro [Locked]
Ashmaele  4 stars
Title: Pastor of Muppets
Posts: 1,809
Registered: 2002-1-15 08:30:50
It sells all your vendor trash ("gray" items) in all bags with one click:


Quote:

/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



Enjoy (if not already using this)!

 

-----signature-----
I had a dream. It was an incredible dream. When I awoke, I had a huge mess to clean up.
-MrBean-  2 stars
Title: Now With Extra Baldness
Posts: 357
Registered: 2001-5-23 14:15:00
or just use the addon Sell Loot. No need to click either.

But cool macro.