Guest User

Untitled

a guest
Jul 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. import java.awt.*;
  2. import java.util.*;
  3. import java.util.List;
  4. import java.util.logging.Level;
  5. import javax.accessibility.*;
  6. import javax.swing.*;
  7.  
  8. import org.rsbot.bot.Bot;
  9. import org.rsbot.script.*;
  10. import org.rsbot.script.wrappers.*;
  11. import org.rsbot.event.listeners.PaintListener;
  12. import org.rsbot.event.listeners.ServerMessageListener;
  13. import org.rsbot.event.events.ServerMessageEvent;
  14.  
  15. @ScriptManifest(authors = { "YourName" }, category = "ScriptCategory", name = "Script Name", version = 1.00, description = "Script description here.")
  16. public class IronMaiden extends Script implements PaintListener, ServerMessageListener {
  17.  
  18. private final ScriptManifest properties = getClass().getAnnotation(ScriptManifest.class);
  19.  
  20.  
  21. public int copperID[] = {11960,11961,11962};
  22. public int[] pickAxeID = {1275};
  23. public int BankBoothID = 11402;
  24.  
  25. RSTile[] bankToMine = new RSTile[] {new RSTile(3265,3428), new RSTile(3282, 3423), new RSTile(3290, 3408), new RSTile(3290, 3391), new RSTile(3287, 3374), new RSTile(3287, 3362)};
  26.  
  27. public boolean onStart(Map<String, String> args) {
  28. return true;
  29. }
  30.  
  31. public int loop() {
  32. if(getMyPlayer().isMoving()) return 800;
  33. }
  34.  
  35. public void serverMessageRecieved(final ServerMessageEvent arg0) {
  36. final String serverString = arg0.getMessage();
  37. }
  38.  
  39. public void onRepaint(Graphics g) {
  40. if(!isLoggedIn() || isLoginScreen())
  41. return;
  42.  
  43. }
  44.  
  45. public void onFinish() {
  46.  
  47. }
  48. }
Add Comment
Please, Sign In to add comment