BotWith - An Automation Bot
Magic logs Seers - Printable Version

+- BotWith - An Automation Bot (http://botwith.me)
+-- Forum: Scriptable (http://botwith.me/forumdisplay.php?fid=4)
+--- Forum: TextScripting (http://botwith.me/forumdisplay.php?fid=7)
+--- Thread: Magic logs Seers (/showthread.php?tid=127)



Magic logs Seers - pietje12 - 07-14-2021

Code:
@loop
isBatching(@sleep)
isSleeping(@sleeping)
isFatigueOver(95, @usebag)
isBankOpen(@inbank)
invFull(@full)
isYOver(467, @chop)
walkPath(501;451:502;455:504;458:507;462:509;465:509;469:511;473:512;479:515;483:518;487)

@full
isYUnder(457, @bankOptions)
walkPath(518;487:515;483:512;479:511;473:509;469:509;465:507;462:502;455:501;451)
sleep(1000)

@chop
interactObject(310,Chop)
sleep(1000)

@bankOptions
tileReachable(502,451,@banker)
objectExists(64,@closedBankDoors)

@closedBankDoors
interactObject(64,Open)
sleep(1000)

@banker
interactNpc(95,Bank)
sleep(1000)

@sleep
sleep(1000)

@inbank
bankDepositAll(636)
sleep(1000)
bankClose()
sleep(1000)

@usebag
invInteract(Sleeping Bag, sleep)

@sleeping
sleep(5500)