This script is a very simple start for a ChatBot. I've included some notes in the script if you want to modify things that it can do. It's pretty easy to figure out. (At least, I think it's easy)
If you want the bot to have the ability to send the last 30 chat messages upon request:
To set the script to work:
The bot will show in the CLI everything that's been spoken in chat. If PM, or normal chat. Will only log the chat for the clan you are currently in. If you choose to be at the console when the bot is running, it WILL NOT respond to your commands. I found when the bot responds to itself, it can cause endless loops and spam chat.
The bot can be easily programmed to be a buff bot as well. It currently responds to the following commands in PM only:
Update: last 30 messages received in open chat (does not record PM's)
Ode: single shot of Ode to Booze
Stop: bot will shut down completely
Dance, and can be "reprogrammed"
The bot will also fire off (mostly) random messages when a specific, relatively uncommon letter/character is seen in chat.
Requires ZLIB.ASH to run properly. I think everyone should have that by now anyways.
Code:svn checkout svn://svn.code.sf.net/p/pazsoxchatbot/code/