Guest User

Untitled

a guest
Jun 19th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. package com.scripts;
  2.  
  3. import com.kbot2.scriptable.Script;
  4. import com.kbot2.scriptable.methods.wrappers.NPC;
  5. import com.kbot2.scriptable.methods.wrappers.GroundItem;
  6. import com.kbot2.scriptable.methods.wrappers.Tile;
  7. import com.kbot2.scriptable.methods.data.Skills;
  8. import com.kbot2.handlers.eventSystem.eventListeners.PaintListener;
  9.  
  10. /**
  11. * Created by IntelliJ IDEA.
  12. * User: Henry
  13. * Date: 30-May-2009
  14. * Time: 22:30:28
  15. * To change this template use File | Settings | File Templates.
  16. */
  17.  
  18.  
  19.  
  20. public class FlaxSpinner extends Script implements PaintListener {
  21.  
  22.  
  23.  
  24. Point stairsPoint = getCalculations().tileToScreen(new Tile(3205, 3208));
  25. clickMouse(stairsPoint, 10, 10, true);
  26.  
  27. @Override
  28. public boolean onStart() {
  29. Status = "Starting Up";
  30. log("Welcome to ILiked's Flax Spineer");
  31. startTime = System.currentTimeMillis();
  32. return true;
  33. }
  34.  
  35. public String getName() {
  36. return "FlaxSpinner";
  37. }
  38.  
  39. public String getAuthor() {
  40. return "ILikedRSBot";
  41. }
  42.  
  43. public String getDescription() {
  44. return "Spins Flax at lumbridge, start in Lumbridge bank";
  45. }
  46.  
  47. /* Your created methods, specific for this script goes under here */
  48.  
  49. /* Main Loop */
  50. public int loop() {
  51.  
  52. return random(200,300)
  53. }
  54. }
Add Comment
Please, Sign In to add comment