Author Topic: Cool macro
Ashmaele 
Title: Pastor of Muppets
Posts: 19,662
Registered: Jan 15, '02
Extended Info (if available)
Real Post Cnt: 15,903
User ID: 612,352
Subject: Cool macro
It sells all your vendor trash ("gray" items) in all bags with one click:

/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.
hugs
Link to this post
-MrBean- 
Title: Now With Extra Baldness
Posts: 13,652
Registered: May 23, '01
Extended Info (if available)
Real Post Cnt: 13,376
User ID: 98,822
Subject: Cool macro
or just use the addon Sell Loot. No need to click either.

But cool macro.

 

-----signature-----
(none)
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP