Advertisement
ThatGamerBlue2

Untitled

Dec 21st, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. package gtl;
  2.  
  3. import org.osbot.rs07.listener.GameTickListener;
  4. import org.osbot.rs07.script.Script;
  5. import org.osbot.rs07.script.ScriptManifest;
  6.  
  7. @ScriptManifest(version = 1.0, logo = "", author = "me", info = "ticklistener", name = "gtl")
  8. public class GTL extends Script {
  9. @Override
  10. public void onStart() throws InterruptedException {
  11. GameTickListener myGtl = new GameTickListener() {
  12. @Override
  13. public void onGameTick() {
  14. log("game tick");
  15. }
  16. };
  17. bot.addGameTickListener(myGtl);
  18. }
  19.  
  20. @Override
  21. public int onLoop() throws InterruptedException {
  22. return 0;
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement