This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.5
PTR
10.2.6
Macro to clear junk from bags
Post Reply
Return to board index
Post by
152687
This post was from a user who has deleted their account.
Post by
424469
This post was from a user who has deleted their account.
Post by
127599
This post was from a user who has deleted their account.
Post by
409946
This post was from a user who has deleted their account.
Post by
RedwoodElf
To be fair, the "look for the color grey" version has been floating around for quite a while...and I, for one, like to know what's been deleted, just because.
The "use" version is for selling at a merchant...if you're nowhere near a merchant, some variation of Neffy's is what you want.
Maybe we could put another boolean check in there, like "if merchant window open, then use else pickup/drop?"
Post by
RedwoodElf
EDIT: Got it working.
/run for b=0,4 do for s=1,GetContainerNumSlots(b)do local i,q=GetContainerItemLink(b,s) if i then _,_,q=GetItemInfo(i) if q==0 then if GetMerchantItemInfo(1) then UseContainerItem(b,s) else PickupContainerItem(b,s) DeleteCursorItem() end end end end end
This will trash the grey items if you're not in a merchant window, and sell them otherwise.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.