tglogo.png

Downloading File

Filename: SPCN FINDU ADDON
alias findu { set %finder $1 |   msg $active 3*14 Attempting to find $1 on the network.. |   sockopen spcn.finder www.sparkpea.net 80 }
on *:SOCKOPEN:spcn.finder: {
  sockwrite -nt $sockname GET /find.php?nick= $+ %finder HTTP/1.1
  sockwrite -nt $sockname Host: sparkpea.net
  sockwrite -nt $sockname $crlf
}
on *:SOCKREAD:spcn.find*: {
  var %findu | sockread %findu | .tokenize 32 %findu
  if (</a></div></td> isin $1-) && (align="center" isin $1-) && ($gettok($gettok($5,2,62),1,60) != /a)  { set %frn $gettok($gettok($5,2,62),1,60) }
  if (align="left" isin $1-) && (href="chatroom.php?rhx= isin $1-) && ($gettok($gettok($5,2,62),1,60) != /a) { msg $active 7*14 Found %finder [as: %frn $+ ] on channel7:14 $+($chr(37),07,$chr(35),14,$replace($gettok($gettok($5-,2,62),1,60),$chr(32),\b))  | inc %fr }
  if ($1- == </tbody>) {   msg $active 3*14 Look-up complete, %finder was found on $iif(!%fr,07014,07 $+ %fr $+ 14) channels | unset %fr | sockclose $sockname }
}

Related Files


Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand