Guest User

Untitled

a guest
Jul 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. public int loop() {
  2. if(isInventoryFull()){
  3. if(getNearestObjectByID(P) != null) {
  4. Status = "Entering Portal";
  5. atObject(Portal, "Enter");
  6. wait(random(50, 200));
  7. moveMouse(random(182, 341), random(423, 438));
  8. wait(random(50, 200));
  9. clickMouse(true);
  10. wait(random(1000, 4500));
  11. Status = "Entering name";
  12. sendText(userWithAltar, true);
  13. } else {
  14. walkPathMM(BankToAltar);
  15. }
  16. }
  17.  
  18. if(!isInventoryFull()) {
  19. if(getNearestObjectByID(B) != null){
  20. Status = "Banking";
  21. bank();
  22. }
  23. else {
  24. atObject(Portal, "Enter");
  25. Status = "Banking";
  26. walkPathMM(AltarToBank);
  27. }
  28.  
  29. }
  30. if(getNearestObjectByID(GildedAltar) != null){
  31. atInventoryItem(BoneID, "Use");
  32. Status = "Boning";
  33. wait(random(10, 70));
  34. atObject(findObject(GildedAltar), BoneCommand);
  35. }
  36. return 600;
  37. }
Add Comment
Please, Sign In to add comment