• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN Just a little help.

Status
Not open for further replies.

iSmooch

New Member
I tried finding more information to help me out before posting. But at this point I do not know what else to do.

Code:
registerPlugin({
    name: 'test',
    version: '1.0',
    description: 'This is just testing',
    author: 'Mr. Test',
    vars: {}
}, function(sinusbot, config) {
    sinusbot.on('api:test', function(ev) {
    return 'Tested';
    });
   
});

I will make this script, name it <something>.js and then drop it in the scripts folder. It does not appear on the web UI and when attempting to reload through the api, I get 'Script-Reload deactivated'.
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Change AllowReload = false to AllowReload = true in the config.ini.
 
Status
Not open for further replies.
Top