Hey Everybody!
I recently found it useful to build a bot to log messages and give people in channel beers.
I've written it in Python as my PHP knowledge is non-existent. The base class that I have derived my bot from should be general enough to work for many different scenarios. You can download this base class and the example bot that uses it at https://github.com/spirulence/phpfreechatlogger/zipball/master
client.py contains the PFCClient class which connects to a running instance of PHP Free Chat 1.3.
main.py contains a subclass which adds example logging and beering functionality
robot.cfg-example contains some configuration for the example bot
Remember to fill in values for robot.cfg-example and change the extension to .cfg if you want to see the example in action. I've had success using gmail's servers to send email, YMMV.
Thank you to everyone for making PHP Free Chat possible!