and how is that suppose to work exacly?
Whats wrong with having refill in cavebot?
(09-18-2016, 04:46 PM)xolink Wrote: [...]to save a lot of code in the waypoint and not use many full checks
BTW, u know u can do full checks in MACRO?
i only have 2 of them.
One on spawn, and one in depo.
these are examples from my
demon script
in depo
[macro]0 {ilesupp}
gpoty:=Misc.ItemCountEx(!gsp!)
uspoty:=Misc.ItemCountEx(!usp!)
prismring:=Misc.ItemCountEx(!prismofID!)
task:=Creatures.TaskKilled(Demon)
!gpoty!<!buygsp! [else1]
CaveBot.GoLabel(Refill)
exit()
{else1}
!uspoty!<!buyusp! [else2]
CaveBot.GoLabel(Refill)
exit()
{else2}
!task!>=!zadanie! [else3]
Self.Logout()
exit()
{else3}
!prismring!<=1 [else4]
Cavebot.Stop()
exit()
{else4}
!pausedepot!==1 [else5]
Cavebot.Stop()
{else5}
CaveBot.GoLabel(NaResp)
exit()
[/macro]
on spawn
[macro]0 {checkpoint}
poty:=Misc.ItemCountEx(!usp!)
scap:=Self.Capacity()
task:=Creatures.TaskKilled(Demon)
!poty!<=!BackBelow! [else1]
CaveBot.GoLabel(powrot)
exit()
{else1}
!task!>=!zadanie! [else2]
CaveBot.GoLabel(powrot)
exit()
{else2}
!InstaBack!==1 [else3]
CaveBot.GoLabel(powrot)
exit()
{else3}
CaveBot.GoLabel(hunt)
exit()
[/macro]
And they are used by cavebot
at exacly 9 min of video u can see Cavebot using the macro checkpoint to count items and decide if go back or stay exp