View Single Post
05-07-22, 04:27 AM   #1
Yukka
A Theradrim Guardian
 
Yukka's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2020
Posts: 60
Macro to destroy all grey items in the bags - Need to be updated

Please, can someone experienced make this macro work for the latest version? I do a lot of raids and dungeons and it's a real pain to delete all grey items one by one when there's no vendor nearby. Thanks a lot.

Code:
/run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff9d9d9d") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end
  Reply With Quote