/sockopen msforum mircscripts.org 80
on *:sockopen:msforum:{
sockwrite -n $sockname GET /forumlist.php HTTP/1.1
sockwrite -n $sockname Host: mircscripts.org $+ $crlf $+ $crlf
}
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 -
echo -a $htmlfree(%temptext)
}
}
}