IRC bot written fully in PHP