CheckingItOut Posted July 1, 2021 Posted July 1, 2021 (edited) Hi, I have a bit of previous programming knowledge and just started scripting. I downloaded IntelliJ IDEA, created a file in the src folder called Skeleton.java along with a few other configurations and in Skeleton.java file is the following... import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; public class Skeleton extends Script { @Override public void onStart() { //Code here will execute before the loop is started } @Override public void onExit() { //Code here will execute after the script ends } @Override public int onLoop() { return 1000; //The amount of time in milliseconds before the loop starts over } @Override public void onPaint(Graphics2D g) { //This is where you will put your code for paint(s) } } This was taken from a tutorial on a forum on osbot about the bare backbone needed to script. When I input that I get no errors, when I try to type other code, something as simple as public void onStart() { Inventory(); //Code here will execute before the loop is started } it brings up the error. "Cannot resolve method 'Inventory' in 'Skeleton'. I'm just trying to create a script that will click or do anything just to get going to know I can interact with it. What exactly do I need to add to this barebones script to get a bot to do anything? This got solved thanks to Khaleesi*** Edited July 1, 2021 by CheckingItOut Clarify more
Khaleesi Posted July 1, 2021 Posted July 1, 2021 (edited) Inventory() isn't a method like it says in the error. Check for some help or tutorials here: https://osbot.org/forum/forum/249-scripting-help/ Check somone elses code and just try, you can only learn by trying to do it Edited July 1, 2021 by Khaleesi 1