Well.. you'd have to have it use a :loop, and go back through it once it was done checking to see whether you were in that list or not.. here's a start, although horridly sloppy.
alias high.score {
sockclose rune
sockopen rune www.runescape.com 80
if ($1) {
var %c 0
.sockmark rune /hiscoreuser.cgi?username= $+ $replace($1-,$chr(32),_) $+ &category= $+ %c
}
else {
.sockmark rune /hiscores.html
}
}
on *:sockopen:rune:{
if ($sockerr) {
echo $color(info) -s *** Socket Error (on open) \ $sockname - $sock($sockname).ip
return
}
sockwrite -n $sockname GET $sock($sockname).mark HTTP/1.1
sockwrite -n $sockname Accept: */*
sockwrite -n $sockname Host: www.runescape.com
sockwrite -n $sockname $crlf
}
on *:sockread:rune:{
sockread -nt %tmp
echo -a %tmp
}
You'd have to have it go back and inc %c, then read off the stats for that section.I dont care if I cant get it to get the top 10 for each stat, I'm just looking for it to get that person's stats.