Jethro commented on a Page, NFL NHL NBA and MLB scores  -  Oct 23, 2011

Here you go, snackled. Place the script below in a new remote by itself as a separate script:

on *:text:$($iif(.ncaa * iswm $strip($1),$1)):*:{
  if (!$(,$+(%,f,$site,#))) { inc -u3 $+(%,f,$site,#)
    set -l %ncaa $+(ncaa,$r(1,$ticks))
    sockopen %ncaa feeds.feedburner.com 80
    sockmark %ncaa $strip($2) msg $iif(#,#,$nick)
  }
}
on *:sockclose:ncaa*:{
  $gettok($sock($sockname).mark,2-3,32) No such team as $&
    $qt($gettok($sock($sockname).mark,1,32))
}
on *:sockread:ncaa*: {
  if (!$sockerr) { var %ncaa | sockread %ncaa
    if ($gettok($sock($sockname).mark,1,32) isin %ncaa) {
      $gettok($sock($sockname).mark,2-3,32) $&
    $gettok($gettok(%ncaa,-1,62),1,60) | sockclose $sockname } }
}
on *:sockopen:ncaa*:{
  if (!$sockerr) {
    sockwrite -n $sockname GET /collegesportsinfo-scores HTTP/1.1
    sockwrite -n $sockname Host: $+($sock($sockname).addr,$str($crlf,2))
    sockwrite -n $sockname Connection: close
  }
}

I'll suggest that you change the trigger name to something else so that it doesn't interfere with the other socket script.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.