Advertisement
asciicat

zzAlch 1.38

Jun 7th, 2011
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. import org.rsbot.script.Script;
  2. import org.rsbot.script.ScriptManifest;
  3. import org.rsbot.script.methods.Game;
  4. import java.awt.event.KeyEvent;
  5.  
  6. @ScriptManifest(authors = "asciicat", name = "zzAlch", version = 1.38, description = "Put desired item \"behind\" alch. Start with Magic tab open. Small anti, no paint. Fast.")
  7.  
  8. public class zzAlch extends Script
  9. {
  10. int amt = 0;
  11.  
  12. @Override
  13. public int loop()
  14. {
  15. if(game.getCurrentTab() != Game.TAB_MAGIC)
  16. {
  17. sleep(700,800);
  18. }
  19. else
  20. {
  21. log("casting");
  22. mouse.click(621,304,true);
  23. sleep(166,188);
  24. mouse.click(621,304,true);
  25. amt++;
  26. log("alch click #"+amt);
  27. }
  28.  
  29. return 0;
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement