okie i moved the bot to the irc network that we're using so his uptime is 100% now
but we got a new problem/bug
it uses global plugin so bots on other channels can access !pyramid command, but when the bot connects to get the rank his expecting this:
unless($response->is_success() && $response->content_type() eq 'text/html' ) {
$self->respond( $message, "HTTP error or invalid content type" );
return;
}
when viewing horus.py?username=xxx
+++RESP 5500+++
HTTP/1.1 200 OK
Date: Sun, 08 Apr 2007 01:17:57 GMT
Server: Apache/2.0.52 (CentOS)
Transfer-Encoding: chunked
Content-Type: text/plain; charset=UTF-8
+++CLOSE 5500+++
so you need to set the header right, in php its easy:
header("Content-Type: text/html");
*cheers Sapr0*