Advertisement
asciicat

zzAlch

May 29th, 2011
193
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.  
  5. @ScriptManifest(authors = "asciicat", name = "zzAlch", version = 1.1, description = "Put desired item \"behind\" alch. Start with Magic tab open. No antiban or paint. Fast.")
  6.  
  7. public class zzAlch extends Script
  8. {
  9.     int amt = 0;
  10.  
  11.     @Override
  12.     public int loop()
  13.     {
  14.         if(game.getCurrentTab() != Game.TAB_MAGIC)
  15.         {
  16.             sleep(1);
  17.         }
  18.         else
  19.         {
  20.         mouse.click(577,376,true);
  21.         sleep(144,188);
  22.         mouse.click(577,376,true);
  23.         amt++;
  24.         if(amt==1)
  25.         log("clicked alch 1 time");
  26.         else
  27.         log("clicked alch "+amt+" times");
  28.         }
  29.        
  30.         return 0;
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement