Guest User

Untitled

a guest
Oct 19th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. if (Inventory.isFull() && atVarrockBank() && !Bank.isOpen() && !dropLogs) {
  2. Bank.open();
  3. status = "Opening bank";
  4. }
  5.  
  6. if (Inventory.isFull() && atVarrockBank() && Bank.isOpen() && !dropLogs) {
  7. bankLogs();
  8. status = "Depositing logs";
  9. }
  10.  
  11. if (!Inventory.isFull() && atVarrockBank() && Bank.isOpen() && !dropLogs) {
  12. Bank.close();
  13. status = "closing bank";
  14. }
  15.  
  16. if (!Inventory.isFull() && atVarrockBank() && !Bank.isOpen() && !dropLogs) {
  17. if (!Players.getLocal().isMoving()) {
  18. walkToMyTile();
  19. status = "Walking to trees";
  20. }
  21.  
  22. if (Inventory.isFull() && !atVarrockBank() && bankLogs) {
  23. if (!Players.getLocal().isMoving()) {
  24. walkToVarrockBank();
  25.  
  26. }
  27. }
Add Comment
Please, Sign In to add comment