Maybe a suggestion to add the quit function in all example files. When starting as a newbee with this class I had the same problem, just picked the example without the quit command to test and had to contact a irc mod to kill the gosth bot on their network :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do i kill the bot?
I'm assuming you forgot to add a kill function so...wait for it to break on its own, or kill apache/php or whatever your using to run it
Maybe a suggestion to add the quit function in all example files. When starting as a newbee with this class I had the same problem, just picked the example without the quit command to test and had to contact a irc mod to kill the gosth bot on their network :)