Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Java by mr_sharingan ( 16 years ago )
if(getMyPlayer().getAnimation() == miningAnimation ) return random(200,300);
     if(isInventoryFull()) {
      if (getEnergy() >= 80)
       setRun(true);
         status = "Banking";
         if (distanceTo(getDestination()) < random(5, 12)
                 || distanceTo(getDestination()) > 40) {
         if (!walkPathMM(mineToBank)) {
                 walkToClosestTile(mineToBank);
         }
         if(useBank(bBooth, pickID, 0, true));
         }
} else if (!isInventoryFull()) {
      if (distanceTo(getDestination()) < random(5, 12)
                 || distanceTo(getDestination()) > 40) {
         if (!walkPathMM(bankToMine)) {
                 walkToClosestTile(bankToMine);
         }
      }

 

Revise this Paste

Parent: 14303
Children: 14306
Your Name: Code Language: