I'm trying to setup the most simple chatbot ever. It will evolve into something else later, but I'm just trying to get the most basic function to work.
Here's the script.ash:
void main(string sender, string message){
print(sender + ": " + message , "green");
}
So it's just logging the private message. I have chatbotScript=script.ash . I even have chatbotScriptExecuted=true, even though, looking at the source code, it's not even being used here. The script runs fine if I run it from the KolMafia gCLI, and I specify my own parameters, and logs the message in the gCLI.
But, it's not running when I receive a private message. The private message shows up in chat, and showing up in gCLI as a regular PM, but it's not running the script. Any ideas here?
Thanks.
Here's the script.ash:
void main(string sender, string message){
print(sender + ": " + message , "green");
}
So it's just logging the private message. I have chatbotScript=script.ash . I even have chatbotScriptExecuted=true, even though, looking at the source code, it's not even being used here. The script runs fine if I run it from the KolMafia gCLI, and I specify my own parameters, and logs the message in the gCLI.
But, it's not running when I receive a private message. The private message shows up in chat, and showing up in gCLI as a regular PM, but it's not running the script. Any ideas here?
Thanks.