-
Member
Request: Macro that can delete items by name
Is there a macro that can delete items by name? An addon that allows me to create custom macros with the same functionality works as well.
I do NOT want to delete items by bagslot, nor do I want to delete all greys/whites, etc. I want to filter on Item name and only delete those items in the filter. Is that possible?
WoW Classic.
-
Post Thanks / Like - 1 Thanks
MoneyPress (1 members gave Thanks to Nyter for this useful post)
-
Member
Edit: Found it.
macro is: /run for b=0,4 do for s=1,36 do n=GetContainerItemLink(b,s);if n and string.find(n,"item name") then PickupContainerItem(b,s);DeleteCursorItem();end;end;end;
Change 'item name' to the item in question and voila.
-
Post Thanks / Like - 1 Thanks
MoneyPress (1 members gave Thanks to Nyter for this useful post)
-
Member
Dejunk Addon
-
Member
Thank you so much for this!
Do you have any idea if you can change the macro to shift-click remove only one item from that stack?
-
Also I know this is slightly different from what you asked for, but seeing as though someone answered you, allow me to expand what you are able to do. If you didn't already know, TradeSkillMaster allows you to transfer items from guild bank, bank and bags.
/tsm put itemname (or leave blank for all) - Transfers items from your bag to bank (have both your bag and bank pane open)
/tsm get itemname (or leave blank for all) - Transfers items from your bank to your inventory
-
Member