I would add in a public enum State, and add in WALK_TO_BANK, WALK_TO_WHATEVER..
public int onLoop() throws InterruptedException {
log("Loop");
currentState = getState();
switch (currentState) {
case WALK_TO_BANK:
getWalking().webWalk(Banks.LUMBRIDGE_UPPER);
break;
^^ I use that for a basic woodcuting scripts, work perfectly..