Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
buy only the potion that is missing
#1
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?
#2
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))


Forum Jump:


Users browsing this thread: 1 Guest(s)