Pazleysox
Member
Code:
import <zlib.ash>
void main(string sender, string message, string channel) {
Print(Sender + ":"+ message +" in "+channel, "green");
if(contains_text(message, "hello")){
chat_clan("Hello, " +sender);
}
}
I pulled this from another thread, and another script... I've been working around with it, but can't get it to recognize anyone except myself.
I know the point of a chatbot is to run headless, but I was trying to see if I could get it to work with me at the helm.
Does anyone have a working script they are willing to share, or show me why it's potentially not working?
To make things worse, chat does not refresh when this script is running.
Last edited: