07-17-2012, 05:18 PM
(07-15-2012, 10:30 PM)MegaNo0body Wrote: What happens? Witch macro?
I wrote it already, macro for withdraw money for pots and macro for buying pots.
He simply goes to npc and say nothing. I used those macros, now they didnt work:
1000 {Withdraw} VarSetEx(Total,100) VarSet(Potnow) Misc.ItemCountEx(268) VarSub(Total, !Potnow!) VarMult(Total, 50) HUD.Display(!Total!) Self.Say(hi) Macro.Wait(2000) NPC.Say(withdraw) Macro.Wait(2000) NPC.Say(!Total!) Macro.Wait(2000) NPC.Say(yes))
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))