Code:
on *:text:!check &:#:{
  var %n 1,%s
  while ($sock(isfollowing $+ %n)) inc %n
  %s = isfollowing $+ %n
  sockclose %n
  sockopen %n albinstuff.net 80
  sockmark %n $2 $chan 
}
on *:sockopen:isfollowing*:{
  tokenize 32 $sock($sockname).mark
  if ($sockerr) msg $2 Can't connect to website
  else {
    var %s sockwrite -n $sockname
    %s GET /twitch2.php?id=joveice&follows= $+ $urlencode($1)
    %s Host: albinstuff.net
    %s
  }
}

on *:sockread:isfollowing*:{
  var %a
  tokenize 32 $sock($sockname).mark
  if ($sockerr) msg $2 An error occured while reading.
  else {
    if (!$3) {
      sockread %a
      if (!$sockbr) return
      if (%a == $null) sockmark $sockname $1-2 1
    }
    else {
     sockread -f %a
     if ($sockbr) msg $2 Result for $1: %a
    }
  }
}
alias -l urlencode return $regsubex($1, /(\W)/g, $+(%, $base($asc(\t), 10, 16, 2)))

I didn't try it.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel