I'm not going to lie, but there is no code in there which handles walls/buildings and such, you're basically just walking however many tiles in the direction of the goal... I have no idea how this works so well(I havn't tried it) but from the code it doesn't look all too great no offense, very simplistic and seems likely to get stuck very easily. If you could please explain how this works through walls and obstacles, I would be delighted.
I have made a walker of my own on p****bot, and I can tell from the code this can get stuck easily if walking long distances... but if just too/from bank, it should be no problem. Please don't claim it can walk any distance because unless you've tested it many times, I can almost guarantee you it will get stuck at castle walls/long fences/big obstacles. Mine had the same problem, and it was much more complex, so I know yours will be worst haha.
Seriously i'm not hating, but do explain, I could be horribly wrong and look like a complete idiot
(i've been coding for 5 years, have written many scripts for many bots, developed full games, etc... just a little background.)
Seriously i'm not hating friend, I'm just giving you some honest constructive criticism, so please don't flame me, I'm only trying to help bud.