Guest User

Untitled

a guest
Jun 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. package com.scripts;
  2.  
  3. import com.kbot2.scriptable.Script;
  4. import com.kbot2.scriptable.methods.data.Walking;
  5. import com.kbot2.scriptable.methods.data.Skills;
  6. import com.kbot2.scriptable.methods.wrappers.Obj;
  7. import com.kbot2.scriptable.methods.wrappers.Tile;
  8. import com.kbot2.scriptable.methods.wrappers.Interface;
  9. import com.kbot2.handlers.eventSystem.eventListeners.PaintListener;
  10.  
  11. import java.awt.*;
  12.  
  13.  
  14.  
  15. /**
  16. * Created by Eclipse.
  17. * User: ILiked
  18. * Date: 3-mei-2009
  19. * Time: 22:13:44
  20. */
  21. public class TutIslandSolver extends Script implements PaintListener {
  22.  
  23. clickMouse( new Point(145, 148), 1, 1, true)
  24.  
  25. /**
  26. * Gets called before every loop.
  27. *
  28. * @return true to call loop() and false to stop the script.
  29. */
  30. public boolean active() {
  31. return true;
  32. }
  33.  
  34. /**
  35. * Register event listener and communicate with the user to st up the script here.
  36. *
  37. * @return if the script shall start or not.
  38. */
  39. @Override
  40.  
  41. /**
  42. * Scripts loop.
  43. *
  44. * @return time to next loop.
  45. */
  46. public int loop() {}
  47.  
  48.  
  49. /**
  50. * Get the scripts name
  51. *
  52. * @return
  53. */
  54.  
  55.  
  56. public String getName() {
  57. return "TutIslandSolver";
  58. }
  59.  
  60. /**
  61. * Gets the script author
  62. *
  63. * @return
  64. */
  65. public String getAuthor() {
  66. return "ILikedRSBot";
  67. }
  68.  
  69. /**
  70. * Gets the scripts description.
  71. *
  72. * @return
  73. */
  74. public String getDescription() {
  75. return "Solves Tutorial Island\n" +
  76. "Start in Tutorial Island having done nothing.";
  77. }
  78.  
  79. /**
  80. * Search tags.
  81. *
  82. * @return
  83. */
  84. @Override
  85. public String[] getTags() {}
  86.  
  87.  
  88.  
  89. /**
  90. * Gets called on each repaint.
  91. * This at default 50 times a second so try not to do anything resource intensive.
  92. *
  93. * @param g instance of the graphics object to paint on
  94. */
Add Comment
Please, Sign In to add comment