
Can anyone copy/paste an Alching RSBOT script.
*
* Auto Alcher By WoW Sucks & Nullware & JaK~
* v 1.003
*
*
*
* INSTRUCTIONS!
*
* HAVE A FIRE STAFF WIELDED FOR ALCHEMY OR IT WILL NOT WORK!!!!
* Super crazy for ALCHING, this bot goes fast but not too fast
* Have what you want to alch under the High Alch button
*
* Arguments: to do high alchemy type: alch
*
*
*/
import com.speljohan.rsbot.script.Script;
import com.speljohan.rsbot.script.wrappers.*;
public class AutoAlch extends Script {
public static final int[] notedItem = new int[] {856,859,1135};
public static int fireStaff = 1387;
public static int natureRune = 561;
public int whichSpell;
public double getVersion() {
return 1.003;
}
public String getName() {
return "Auto Alcher";
}
public String getAuthor() {
return "WoW Sucks & Nullware & JaK";
}
public boolean onStart(String[] args) {
if(args[0].toLowerCase().contains("a")){
whichSpell = 1; //number 1 is alch
}
return true;
}
public int loop() {
if(whichSpell == 1 && getInventoryCount(natureRune) > 0) {
doAlch();
} else {
if(getInventoryCount(natureRune) == 0) {
log("out of runes, shutting down bot");
return -1;
}
}
return random(1100,1300);
}
public void doAlch() {
openTab(TAB_MAGIC);
castSpell(36);
wait(random(400,800));
clickMouse(577+random(-7,7),374+random(-7,7),true);
}
}