Advertisement
asciicat

zzAlch 1.34

Jun 3rd, 2011
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.74 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.34, 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 ftpolice = 0;
  11.     int amt = 0;
  12.     int spell=Magic.SPELL_HIGH_LEVEL_ALCHEMY;
  13.  
  14.     @Override
  15.     public int loop()
  16.     {
  17.         if(game.getCurrentTab() != Game.TAB_MAGIC)
  18.         {
  19.             log("750ms sleep");
  20.             sleep(700,800);
  21.         }
  22.         else
  23.         {
  24.         log("casting");
  25.         magic.castSpell(spell);
  26.         sleep(166,188);
  27.         mouse.click(true);
  28.         amt++;
  29.         log("alch click #"+amt);
  30.         }
  31.  
  32.         return 0;
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement