Jump to content

Running a script programatically


Aeonx

Recommended Posts

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);
Link to comment
Share on other sites

 

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! =)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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