A complex IRC bot created in PHP