Add event support

Added a simple event that gets fired when the bot speaks. I would like to hook this into my PurpleIRC plugin.