Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. import org.rsbot.script.ScriptManifest;
  2. import org.rsbot.script.Script;
  3. import org.rsbot.script.wrappers.RSObject;
  4.  
  5. @ScriptManifest(authors = { "Leland" }, keywords = { "Vagina" }, name = "ToThe_NorthChop", version = 1.0, description = "Power cuts yews like a boss")
  6. public class ToThe_NorthChop extends Script {
  7.  
  8. private int YEW_TREE = 1309;
  9. private int RUNE_HATCHET = 1359;
  10.  
  11. public boolean onStart(){
  12. log("Hey danny this shitty script is for yews in seers village.. hope u like this. squirtle");
  13. mouse.setSpeed(random(4,3));
  14. return true;
  15. }
  16.  
  17. public int loop(){
  18. if(inventory.isFull()){
  19. inventory.dropAllExcept(RUNE_HATCHET);
  20. }else{
  21. if(getMyPlayer().getAnimation() != 867){
  22. RSObject tree = objects.getNearest(YEW_TREE);
  23. if(tree != null){
  24. tree.doAction("chop");
  25. sleep(500,1500);
  26. }
  27. }
  28. }
  29. return random(100, 200);
  30. }
  31.  
  32. public void onFinish(){
  33. log("I liked your shitty script danny... Now check out my shitty script for yews");
  34.  
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement