![]() |
buy only the potion that is missing - Printable Version +- BBot - The best bot of the world (https://forums.bmega.net) +-- Forum: Support (https://forums.bmega.net/forum-6.html) +--- Forum: Support & Help (https://forums.bmega.net/forum-8.html) +--- Thread: buy only the potion that is missing (/thread-1364.html) |
buy only the potion that is missing - mancha250 - 08-24-2011 Please, I would like to know how to do it, My character will deposit the money he took in the hunt. I started the hunt with 100 SHP, I would like him to buy what they need to complete 100 SHP again before going back to my hunt. Is this possible? Re: buy only the potion that is missing - drewindwalker - 08-24-2011 Here you go. Code: 1000 { SHP } VarSetEx(Total, 100) VarSet(Potnow) Misc.ItemCountEx(236) VarSub(Total, !Potnow!) HUD.Display(!Total!) Self.Say(hi) Macro.Wait(2000) NPC.Say(trade) NPC.Buy(236, !Total!, 1) Macro.Wait(2000) NPC.Say(bye)) |