February 19, 20169 yr Hello, I wonder whether there's a way, to run a script via API like RunScript("scriptName") from SDN? Thanks
February 19, 20169 yr Hello, I wonder whether there's a way, to run a script via API like RunScript("scriptName") from SDN? Thanks You can only script stuff using the API in a script itself, so no you can't.
February 19, 20169 yr Author You can only script stuff using the API in a script itself, so no you can't. Thanks, would it be against the rules coding up a custom script starter then? (As a script, API) Edited February 19, 20169 yr by Aeonx
February 19, 20169 yr Thanks, would it be against the rules coding up a custom script starter then? (As a script, API) How would that work? You'd still have to have access to download the script from SDN The script executor is easy to use once you have the script in memory (or with local scripts) getBot().getScriptExecutor().prepare(some_script); getBot().getScriptExecutor().start(some_script);
February 20, 20169 yr Author How would that work? You'd still have to have access to download the script from SDN The script executor is easy to use once you have the script in memory (or with local scripts) getBot().getScriptExecutor().prepare(some_script); getBot().getScriptExecutor().start(some_script); Oh that's actually exactly what I was looking for, thanks! =)
Create an account or sign in to comment