What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

REQ Macro - Del all gray item in bag (wow)

Status
Not open for further replies.

Cisem

Member
Joined
Dec 31, 2012
Messages
252
Reaction score
1
Hai!

I'm looking for a macro for World of Warcraft that can delete ALL gray item i have in my bags.
Anyone have one?

*EDIT*
Found the solution.


Delete ALL gray items
/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

Delete ALL white items
/run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ffffffff") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end

Delete ALL green items
/run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff1eff00") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end

Delete ALL blue items
/run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff0070dd") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end

Delete ALL purple items
/run for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ffa335ee") then PickupContainerItem(bag,slot) DeleteCursorItem() end end end
 
Last edited:
Moderator you can lock this post. I've found the solution.
 
Last edited:
Status
Not open for further replies.
Back
Top