Dude, stop. Seriously. What does a position checker offers to a safe bank script? Not really much, you didn't get my point but whatever. You want me to help? Sure. This would've helped a lot more, if it was possible.
lua code:local minBankAmount = 10000 --example of gold on your bank to stop botting
if Self.Balance() < minBankAmount then
Walker.Stop()
end
Or another one, to read the NPC message ('There is not enough gold on your account.') and stop bot whenever a NPC says that.
I'll show another example below of why a variable to return your bank balance is useful too.
Well if you talk about cleaning someone's bank I'm sure I can obfuscate a code to deposit all gold, then keep withdrawing 10k until there's no more money, store the amount when it gets static, deposit all back and transfer that amount to my character. Won't take much to get cleaned. Also, to read NPC messages is a must. In fact, all kind of messages are a must. The only one that Darkstar did a great job on it was the orange message, no other bot can read it, but what about the others?
A function to check your balance helps not only on bank, but on market functions also. Oh wait, XenoBot doesn't have these too, but even if it was available, you would need to check your balance before buying x item or making a market offer for y item.
Once again, this bothers me much, lack of creativity not only from Darkstar to make his bot better and the users that got used to having so few functions/variables and having to deal with them or not knowing the power of different functions/variables.
Edit:
/\ THIS. Thanks, Syntax.