Jump to content

Running a script programatically


Recommended Posts

Posted

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);
Posted

 

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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...