WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Macro to destroy all grey items in the bags - Need to be updated (https://www.wowinterface.com/forums/showthread.php?t=59122)

Yukka 05-07-22 04:27 AM

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

Fizzlemizz 05-07-22 09:00 AM

See the new (9.1.5) restrictions on DeleteCursorItem

Yukka 05-08-22 05:57 AM

Oh that's why... Thanks!


All times are GMT -6. The time now is 06:03 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI