There are any number of methods you could go about this. The easiest methods would be to use an SPS map and check if you're in a dedicated area of the map that you would define as the map, or an objdtm node where you can determine if you're in an area using that. However, I think the best way to be to script procedurally:
That means you would setup your script so you would walk to the bank, and then bank when your walking procedure is done. That way you don't have to check your current location every single time you want to do something and instead just know where you are because of the previous method that ran.
repeat
A;
B;
C;
D;
E;
until(not loggedIn);
instead of what you're suggesting:
repeat
if(in area A)then A;
if(in area B)then B;
if(in area C)then C;
if(in area D)then D;
if(in area E)then E;
until(not loggedIn);