Advertisement
asciicat

zzAlch 1.39

Jun 10th, 2011
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 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.39, 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(222,333);
  18.         }
  19.         else
  20.         {
  21.             log("casting");
  22.             mouse.click(573,373,true);
  23.             sleep(1,4);
  24.             mouse.click(573,373,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