weishaupt, I'm not sure if napa did it inadvertently or not. The alternative examples he provided had the link for www.mpiii.com , which was an entirely different url from getting the scores at feeds.feedburner.com. To fix that, you need to change them back to the feedburner one.
I also added the college football scores to the script, requested by TwiztedChat]. TwistedChat], to get the college foodball scrore, enter: .ncaa or !ncaa
Here is it:
on $*:text:/^([!.])(n(hl|ba|fl|caa)?|mlb)$/iS:#:{
if ($regml(2) == ncaa) { ncaa }
if (!$hget(scores,count)) {
if ($sock(scores)) sockclose scores
sockopen scores feeds.feedburner.com 80
sockmark scores $regml(2) $iif($regml(1) = !,.notice $nick,msg #) 4,15
$gettok($sock(scores).mark,2-,32) 4,15Gathering $regml(2) info please wait.....
}
}
on *:sockopen:scores: {
sockwrite -n $sockname GET $+(/mpiii/,$gettok($sock(scores).mark,1,32),.php) HTTP/1.1
sockwrite -n $sockname Host: $+($sock(scores).addr,$str($crlf,2))
}
on *:sockread:scores: {
var %scores | sockread %scores
if ($regex(%scores,/<title>(.+)<\/title>/)) {
hinc -mu5 scores count 1
$iif($hget(scores,count) >= 3,$+(.,timerscore,$v1) 1 $calc($v1 *2) $&
$gettok($sock(scores).mark,2-,32) $+([,$calc($v1 -2),]) $regml(1))
}
}
alias -l ncaa {
if (!$hget(ncaa,count)) {
if ($sock(ncaa)) sockclose ncaa
sockopen ncaa feeds.feedburner.com 80
sockmark ncaa $regml(2) $iif($regml(1) = !,.notice $nick,msg #) 4,15
$gettok($sock(ncaa).mark,2-,32) 4,15Gathering $regml(2) info please wait.....
}
}
on *:sockopen:ncaa: {
sockwrite -n $sockname GET /collegesportsinfo-scores HTTP/1.1
sockwrite -n $sockname Host: $+($sock(ncaa).addr,$str($crlf,2))
}
on *:sockread:ncaa: {
var %ncaa | sockread %ncaa
if ($regex(%ncaa,/<title>(.+)<\/title>/)) {
hinc -mu5 ncaa count 1
$iif($hget(ncaa,count) >= 3,$+(.,timerscore,$v1) 1 $calc($v1 *2) $&
$gettok($sock(ncaa).mark,2-,32) $+([,$calc($v1 -2),]) $regml(1))
}
}
why isnt the .nfl working all i get is Gathering nfl info please wait.....
the.mlb works great but nothing else will work
.n [» Fri Dec 20 | 10:29:15 pm «] <~Billy> Gathering n info please wait.....
.ncaa works [1] NY Mets 5 St. Louis 2 (FINAL)
main 1 i need to work is the .nfl
anyway i could get 1 just for the .nfl ???
is there anyway to add standing to the script? would love to be able to see the standing in each group