on *:sockopen:msforum:{
sockwrite -n $sockname GET /forumlist.php HTTP/1.1
; This is telling the socket to connect to the specific page, using "GET".
sockwrite -n $sockname Host: mircscripts.org $+ $crlf $+ $crlf
; This states the host once again.
}
on *:sockread:msforum:{
if ($sockerr) {
echo -a Error.
halt
}
else {
var %temptext
sockread %temptext
if (Stats: * posts / * threads / * users
iswm %temptext) || (Last 24 hours: * posts / * new users
iswm %temptext) {
echo -a -
}
}
}