Hello
Anyone knows how to make a macro that sells an item?
[Questions allowed here]
thx for help
Hello
Anyone knows how to make a macro that sells an item?
[Questions allowed here]
thx for help
Hey I just met you
Yes, but what kind of items.. like grays?
to sell all grey items
to sell an item of a specific name replace ff9d9d9d with whatever you wish to sell...Code:/run for bag=0,4,1 do for slot=1,GetContainerNumSlots(bag),1 do local name=GetContainerItemLink(bag,slot) if name and string.find(name,"ff9d9d9d") then DEFAULT_CHAT_FRAME:AddMessage("- Selling "..name) UseContainerItem(bag,slot) end end end
now ofc theres addons out there that does this, such as AutoProfit, SellOMatic, FuBar_GarbageFu .. probably a bunch more of those out there.
edit:
9d9d9d - grey
ffffff - white
1eff00 - green
0070dd - blue
a335ee - epic
Last edited by xdariuzx; 06-18-2008 at 05:14 AM.
thx very big thx +Rep
Hey I just met you
If you wanna buy stuff it's:
/run for i=1,GetMerchantNumItems() do local n, t, p, q, r, s, v = GetMerchantItemInfo(i) if (strfind(n, "Star's Tears")) then BuyMerchantItem(i,r) end end
ty for macro +Rep
didn't know uy could do that