Administrador Ryuzaki Posted January 16, 2020 Administrador Share Posted January 16, 2020 Las siguientes macros son útiles para VENDER en 1 sólo clic todos los ítems de un mismo color cuando se está interactuando con un vendedor. ¡Sé responsable al usarlos! Vender todos los ítems GRISES /run local p,N,n=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do n=GetContainerItemLink(b,s) if n and string.find(n,"9d9d9d") then N={GetItemInfo(n)} p=p+N[11] UseContainerItem(b,s) print("Vendido: "..n) end end end print("Total: "..GetCoinText(p)) Vender todos los ítems BLANCOS /run local p,N,n=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do n=GetContainerItemLink(b,s) if n and string.find(n,"ffffff") then N={GetItemInfo(n)} p=p+N[11] UseContainerItem(b,s) print("Vendido: "..n) end end end print("Total: "..GetCoinText(p)) Vender todos los ítems VERDES /run local p,N,n=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do n=GetContainerItemLink(b,s) if n and string.find(n,"1eff00") then N={GetItemInfo(n)} p=p+N[11] UseContainerItem(b,s) print("Vendido: "..n) end end end print("Total: "..GetCoinText(p)) Vender todos los ítems AZULES /run local p,N,n=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do n=GetContainerItemLink(b,s) if n and string.find(n,"0070dd") then N={GetItemInfo(n)} p=p+N[11] UseContainerItem(b,s) print("Vendido: "..n) end end end print("Total: "..GetCoinText(p)) Vender todos los ítems VIOLETAS /run local p,N,n=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do n=GetContainerItemLink(b,s) if n and string.find(n,"a335ee") then N={GetItemInfo(n)} p=p+N[11] UseContainerItem(b,s) print("Vendido: "..n) end end end print("Total: "..GetCoinText(p)) Creador original: ehiro (Y Gracias a Limita por pasarme estas macros más útiles) Torete, francis1 and Silverproud 3 Link to comment Share on other sites More sharing options...
Silverproud Posted September 17, 2020 Share Posted September 17, 2020 Pregunta capsiosa... es posible escribir una excepcion para un item dentro de esas formulas? por ejemplo https://wotlk.ultimowow.com/?item=9149 o https://wotlk.ultimowow.com/?item=20824 que suelo llevarlos en los bolsillos permanentemente. Guias Utiles: Transfiguración Paladín Draenei Vindicador | Compendio de items Paladín Retri PvE | Paladín retribución PvP | Danza de los sellos Link to comment Share on other sites More sharing options...
Administrador Torete Posted September 18, 2020 Administrador Share Posted September 18, 2020 Silverproud dijo: Pregunta capsiosa... es posible escribir una excepcion para un item dentro de esas formulas? por ejemplo https://wotlk.ultimowow.com/?item=9149 o https://wotlk.ultimowow.com/?item=20824 que suelo llevarlos en los bolsillos permanentemente. Te recomiendo usar el addon: Con SellJunk, puedes, entre otras cosas, agregar una lista de ignorados. francis1, Toparpa, Yuno and 1 other 4 Normas | Denuncias | Reclamaciones | FAQ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now