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 (<span class="smallText">Stats: * posts / * threads / * users</span><br> iswm %temptext) || (<span class="smallText">Last 24 hours: * posts / * new users</span><br> iswm %temptext) {
echo -a -
}
}
}