I am looking for a script to log chat from an IRC channel. If possible I would like the script to be able to output some nice HTML and allow the logs to be browsed by date.
A Google search has thrown up a couple of Perl and PHP scripts, but I am not sure they are entirely what 开发者_高级运维I am looking for.
I would suggest Botzilla. I've used it myself, and you can also run it as a background process via shell. It's also pretty easy to implement new classes to the bot which do some stuff with messages or react on special commands.
To run Botzilla as a background process later (after you've settled all the configurations and tested it successfully of course), you can use this little shell script to start it:
#!/bin/bash
nohup php5 -q botzilla.php > /dev/null &
精彩评论