Just a little suggestion, maybe this will apply to more than just this individual script.
A lot of the time when I am running to the bank, meaning when i'm actually playing the game, I click on the banker/bank chest before my character stops moving. When I watch the bot it seems like every single time it banks, it stops within a few tiles of the banker before actually banking. If you could add a feature where the bot sometimes just clicks on the banker before it stops and access's the bank quicker I feel this would reflect positively on the script overall. The gp/hour, exp/hour and ban rate would probably fall.