Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1.  
  2. import com.rsbuddy.script.ActiveScript;
  3. import com.rsbuddy.script.Manifest;
  4. import com.rsbuddy.script.methods.Walking;
  5. import com.rsbuddy.script.methods.Inventory;
  6. import com.rsbuddy.script.methods.Bank;
  7. import com.rsbuddy.script.methods.GroundItems;
  8. import com.rsbuddy.script.util.Filter;
  9. import com.rsbuddy.script.util.Random;
  10.  
  11. @SuppressWarnings("deprecation")
  12. @Manifest(authors = "Brazzers", name = "AshPickerUpper", version = 1.0, description = "Picks Ashes Like A Baws!")
  13. public class ashes extends ActiveScript {
  14.  
  15. Private int [ASHid] = []
  16.  
  17. public boolean onStart() {
  18. log("Welcome to RubiBoobies_ROFL Ashpickerupper");
  19. return true;
  20. }
  21.  
  22. @Override
  23. public int loop() {
  24. walking.setRun(true);
  25. if (Inventory.isFull)()) {
  26. if (Bank.isOpen())
  27. Bank.depositALL();
  28. else Bank.open ();
  29. } else {
  30. GroundItems=GroundItems.getNearest(ASHid)();
  31. public boolean accept (GroundItem(ASHid)); {
  32. }
  33. });
  34. if (ASHid !=null)
  35. if (ASHid.is.OnScreen)();
  36. ASHid.interact("take");
  37. else
  38. walking.findPath(ASHid.getLocation)().randomise(1,1).traverse();
  39. return(random.nextInt(400,1000));
  40.  
  41.  
  42. }
  43.  
  44.  
  45.  
  46. public void onFinish() {
  47. log("Thanks you for using a RubiBoobies_ROFL Creation");{
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement