Let me elaborate the post I made earlier since I couldnt post code from my phone.
Main.Java
package somePackage;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
@ScriptManifest(name = "AIO Runescape", author = "JohnnyDepp", version = 6.9, info = "Unicorns", logo = "")
public class Main extends Script {
Woodcutting wc;
@Override
public void onStart() {
wc = new Woodcutting(this);
}
@Override
public int onLoop() {
wc.cutTree();
return 100;
}
}
Woodcutting.Java
package somePackage;
public class Woodcutting {
Main main;
public Woodcutting(Main mainReference) {
this.main = mainReference;
}
public void cutTree() {
main.log("Time to cut some shit");
// insert actual code
}
}
The above code should spam your logger with "Time to cut some shit".