Really, really, really badly written, using boilerplate IRC code, but fully functional.