Hello!
I'm not skillful with sinusbot scripting, so I have a problem to resolve
I'd like to prepare random selected welcome message. Looks like:
but all my tests failed. Any help?
And another question - is there way to reload script without restarting sinusbot? Till now any script edit require sinusbot restart to reload.
Regards!
I'm not skillful with sinusbot scripting, so I have a problem to resolve
I'd like to prepare random selected welcome message. Looks like:
Code:
messages = ("Welcome", "Hi", Hi there", "Hello", "Good morning");
msg = getRandom(messages);
chat(msg);
And another question - is there way to reload script without restarting sinusbot? Till now any script edit require sinusbot restart to reload.
Regards!