Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. import org.rsbot.script.Script;
  2. import org.rsbot.script.ScriptManifest;
  3. import org.rsbot.script.wrappers.RSObject
  4.  
  5. @ScriptManifest(authors = {"lOL"}, name = "Main", version = 1.0, description = "Standard RSBot script")
  6.  
  7. public class Sjoerd extends Script implements PaintListener {
  8.  
  9.  
  10. public int WILLOWLOG = 5554;
  11. public int HATCHET = idk;
  12.  
  13. public boolean onStart() {
  14. return true;
  15. }
  16.  
  17. public boolean onStart() {
  18. return true;
  19. }
  20.  
  21. public int loop() {
  22. RSObject tree = objects.getNearest(WILLOW);
  23. if (tree != null && getMyPlayer().getAnimation() == -1) {
  24. if (getMyPlayer().getAnimation() == -1) {
  25. tree.doAction("Chop");
  26. sleep(random(1000, 2000));
  27.  
  28.  
  29.  
  30.  
  31. }
  32. }
  33. return 1;
  34. }
  35.  
  36.  
  37.  
  38. return 1;
  39. }
  40.  
  41. public void onFinish() {
  42. }
  43.  
  44. ''}''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement