IRC QuakeNet's Q bot rebuild with PHP