January 27, 20233 yr Hello. I've been trying to start OSBot with a local script via cli using the -script option. The problem is that I dont have an ID, and using the name doesn't seem to work. The script is located at /home/myuser/OSBot/Scripts/myscript.jar I've tried using "-script myscript", "-script myscript.jar" and even the name at @ScriptManifest which is "My Script" (-script "My Script", -script My\ Script) None worked, any tips?
January 27, 20233 yr 1 hour ago, aguiarbianca said: Hello. I've been trying to start OSBot with a local script via cli using the -script option. The problem is that I dont have an ID, and using the name doesn't seem to work. The script is located at /home/myuser/OSBot/Scripts/myscript.jar I've tried using "-script myscript", "-script myscript.jar" and even the name at @ScriptManifest which is "My Script" (-script "My Script", -script My\ Script) None worked, any tips? -script scriptname If you ahve spaces you might wanna do -script "script name" Edited January 27, 20233 yr by Khaleesi
January 27, 20233 yr 1 hour ago, aguiarbianca said: Hello. I've been trying to start OSBot with a local script via cli using the -script option. The problem is that I dont have an ID, and using the name doesn't seem to work. The script is located at /home/myuser/OSBot/Scripts/myscript.jar I've tried using "-script myscript", "-script myscript.jar" and even the name at @ScriptManifest which is "My Script" (-script "My Script", -script My\ Script) None worked, any tips? Try passing a parameter with -script as well. I couldn't get -script to work without passing a dummy parameter. java -jar OSBot.jar -login <OSBotUser>:<OSBotPass> -bot <OSRSAccount>:<OSRSPass>:0000 -world <WorldNum> -script <YourScriptName>:params Edited January 27, 20233 yr by TheJacob Included example
Create an account or sign in to comment