All pastes #173506 Raw Edit

Stuff

public text v1 · immutable
·published 2006-09-17 00:45 UTC
rendered paste body
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 -



    }
  }
}