Advertisement
asciicat

zzAlch 1.2

Jun 2nd, 2011
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.81 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 org.rsbot.script.methods.Magic;
  5.  
  6. @ScriptManifest(authors = "asciicat", name = "zzAlch", version = 1.2, description = "Put desired item \"behind\" alch. Start with Magic tab open. No antiban or paint. Fast.")
  7.  
  8. public class zzAlch extends Script
  9. {
  10.     int amt = 0;
  11.  
  12.     @Override
  13.     public int loop()
  14.     {
  15.         int fuckthepolice=0;
  16.         if(game.getCurrentTab() != Game.TAB_MAGIC)
  17.         {
  18.             sleep(150);
  19.             fuckthepolice+=150;
  20.             if(fuckthepolice>=750)
  21.             game.openTab(Game.TAB_MAGIC);          
  22.         }
  23.         else
  24.         {
  25.         mouse.click(571,373,true);
  26.         sleep(144,188);
  27.         mouse.click(571,373,true);
  28.         amt++;
  29.         if(amt==1)
  30.         log("clicked alch 1 time");
  31.         else
  32.         log("clicked alch "+amt+" times");
  33.         }
  34.        
  35.         return 0;
  36.     }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement