Php Code:
on *:sockopen:x:{ 
  sockwrite -n $sockname GET / HTTP/1.1
  sockwrite -n $sockname Host: motd.iceoverdose.com
  sockwrite -n $sockname
}
on *:sockread:x:{
  if ($sockerr) {
	echo -a Error
	halt
  }
  else {
	sockread %temptext
	echo -t @bot %temptext
  }
} 


Is my code.

Php Code:
sockwrite -n $sockname Host: motd.iceoverdose.com/index.html 


Is also used and it does no work.

I get this message on http connection.

Php Code:
[9:36:50PM] HTTP/1.1 200 OK
[9:36:50PM] Date: Sun, 20 Nov 2011 10:38:47 GMT
[9:36:50PM] Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
[9:36:50PM] Last-Modified: Sat, 19 Nov 2011 14:31:59 GMT
[9:36:50PM] ETag: "5e0219-c2-4b21750f3f5c0"
[9:36:50PM] Accept-Ranges: bytes
[9:36:50PM] Content-Length: 194
[9:36:50PM] Content-Type: text/html 

Last edited by CoLdFeAr; 20/11/11 10:39 AM.