Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.rsbot.script.Script;
- import org.rsbot.script.ScriptManifest;
- import org.rsbot.script.methods.Game;
- import org.rsbot.script.methods.Magic;
- @ScriptManifest(authors = "asciicat", name = "zzAlch", version = 1.34, description = "Put desired item \"behind\" alch. Start with Magic tab open. Small anti, no paint. Fast.")
- public class zzAlch extends Script
- {
- int ftpolice = 0;
- int amt = 0;
- int spell=Magic.SPELL_HIGH_LEVEL_ALCHEMY;
- @Override
- public int loop()
- {
- if(game.getCurrentTab() != Game.TAB_MAGIC)
- {
- log("750ms sleep");
- sleep(700,800);
- }
- else
- {
- log("casting");
- magic.castSpell(spell);
- sleep(166,188);
- mouse.click(true);
- amt++;
- log("alch click #"+amt);
- }
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement