07-29-2015, 01:35 AM
This macro start trade with NPC when potions is 100- on your backpack and buy automatic 200 potions. You can change.
Edit:
Mana Potion = potion name
285 = ID of potion flask
268 = ID of potion to bought
Code:
1000 {buymp} Misc.ItemCount(Mana Potion)<=100 NPC.Say(hi) Macro.Wait(1000) NPC.Say(TRADE) NPC.Sell(285, -1) NPC.Sell(285, -1) NPC.Buy(268, 100, IgnoreCap) NPC.Buy(268, 100, IgnoreCap)
Edit:
Mana Potion = potion name
285 = ID of potion flask
268 = ID of potion to bought