Jump to content

Guía de macros para BORRAR ítems por color


Recommended Posts

  • Administrador
Posted

Las siguientes macros son útiles para BORRAR en 1 sólo clic todos los ítems según color.

¡Sé responsable al usarlos!

 

Borrar todos los ítems GRISES

/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

 

Borrar todos los ítems BLANCOS

/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

 

Borrar todos los ítems VERDES

/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

 

Borrar todos los ítems AZULES

/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

 

Borrar todos los ítems VIOLETAS

/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

 

Fuente: https://www.thebuddyforum.com/thread...ag-wow.124891/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...