Mana Refill Macro help - 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: Mana Refill Macro help (/thread-2262.html) |
Mana Refill Macro help - Makula1906 - 04-09-2012 hello i need Macro which will refill manapotions up to 100 when i got X pots it will add Y pots up to 100 RE: Mana Refill Macro help - Wukazen - 04-09-2012 It will buy mana potions from the npc until 100 no matter how many you have. there you go: 1000 {ManaPot Reffil} VarSetEx(Total, 100) VarSet(Potnow) Misc.ItemCountEx(268) VarSub(Total, !Potnow!) HUD.Display(!Total!) Self.Say(hi) Macro.Wait(2000) NPC.Say(trade) NPC.Buy(268, !Total!, 1) Macro.Wait(2000) NPC.Say(bye)) |