oh jeez man, there is easier way...
Make manual macro and u can add all decisions you want your bot to make.
Then put that macro on waypoint instead of full check
example of mine hellhound task maker ;D
variables:
Code:
buymana=2740
buyhp=200
zadanie=252
resettask=1
Checkpoint on SPAWN
[macro]0 {checkpoint}
task:=Creatures.TaskKilled(Hellhound)
mpoty:=Misc.ItemCountEx(268)
upoty:=Misc.ItemCountEx(7643)
!upoty!<40 [else1]
CaveBot.GoLabel(powrot) exit()
{else1}
!mpoty!<120 [else2]
CaveBot.GoLabel(powrot)
exit()
{else2}
!task!>=!zadanie! [else3]
CaveBot.GoLabel(powrot)
exit()
{else3}
CaveBot.GoLabel(dalej)
exit()
[/macro]
Checkpoint in DEPO
[macro]0 {ilesupp}
bmana:=!buymana!
VarSub(bmana, 10)
upoty:=Misc.ItemCountEx(7643)
mpoty:=Misc.ItemCountEx(268)
task:=Creatures.TaskKilled(Hellhound)
!upoty!<!buyhp! [else1]
ReUser.Pause(Haste)
CaveBot.GoLabel(Refill)
exit()
{else1}
!mpoty!<!bmana!
[else2] ReUser.Pause(Haste)
CaveBot.GoLabel(Refill)
exit() {else2}
!task!>=!zadanie! [else3]
!resettask!==1 [res]
CaveBot.GoLabel(NewTask)
ReUser.UnPause(Haste) exit()
{res}
Self.Logout()
exit()
{else3}
ReUser.UnPause(Haste)
CaveBot.GoLabel(NaResp)
exit()[/macro]