I finally got my Koha IM bot mostly working, and did a post here
http://blogs.liblime.com/developers/2007/06/22/instant-message-your-ils/
. If you want to have a play let me know, and ill start the bot up for you. I’m in the process of documenting it so people can run their own ones. But if anyone wants the code (such as it currently is) I can give you access to the git repository its in.