OwlBot, yet another PHP socket toy…
I decided to tinker around with sockets more today, and learn a tad about the IRC protocol. I ended up producing this mess. Not sure if the pong function works, and the simple question answer thing is broken, thanks to my lack of any regex skill whatsoever. I’m an anti-regex demon. They just don’t work when I write them.
But as you see, it would be simple enough to add some stuff to recognize my host name, add some password stuff, and have a useful PHP based IRC bot. And no, I’m not following the ‘trend’ to write things PHP wasn’t designed for. Sockets are just fun.
Oh, and this is another public domain script, because I’m once again to lazy to GPL it.

