on *:text:/^[.!](kb|kickban) */si:#rshelp: { if ($address($nick,2) == *!*@SupremeSkillers.co.nr) { /mode $chan b $address($2,2) | /kick $chan $2 $3- } } on *:input:#: { if ($nick == $me && drops isin $1) { /msg $chan 6Current Cave Horror Status:7 %range $+ /906 Range,7 %masks $+ /25 6Black Masks,7 %seeds $+ /2000 6Herb Seeds and7 %age $+ /1 6Third Age Drops7 (6,00 $+ %clues Clues7)6. | /halt } if ($nick == $me && .amsg isin $1) { /amsg $2- | /halt } if ($nick == $me && amsg isin $1) { /gmsg $2- | /halt } if ($nick == $me && market isin $1 && !$2) { /msg $chan 6For all selling/buying needs go to7 #RS-Market | /halt } if ($nick == $me && pc isin $1 && !$2) { /msg $chan 6For all Pest Control needs visit7 #RSPC | /halt } if ($nick == $me && $1 ison $chan && $1 == Sarah) { /msg $chan 3"+ $+  $+ $1 $+  $+ "1 $2- | /halt } if ($nick == $me && $1 ison $chan && $1 isowner $chan) { /msg $chan 6"~ $+  $+ $1 $+  $+ "1 $2- | /halt } if ($nick == $me && $1 ison $chan && $1 == meangirl) { /msg $chan 7"% $+  $+ $1 $+  $+ "1 $2- | /halt } if ($nick == $me && $1 ison $chan && $1 isop $chan) { /msg $chan 4"@ $+  $+ $1 $+  $+ "1 $2- | /halt } if ($nick == $me && $1 ison $chan && $1 ishop $chan) { /msg $chan 7"% $+  $+ $1 $+  $+ "1 $2- | /halt } if ($nick == $me && $1 ison $chan && $1 isvoice $chan) { /msg $chan 2"+ $+  $+ $1 $+  $+ "1 $2- | /halt } if ($nick == $me && $1 ison $chan && $1 isreg $chan) { /msg $chan 10" $+  $+ $1 $+  $+ "1 $2- | /halt } if ($nick == $me && set isin $1) { /set % $+ $2 $3- | /halt } if ($nick == $me && inc isin $1 && /increase !isin $1) { /inc % $+ $2 $3- | /halt } if ($nick == $me && chins isin $1) { /msg $chan 6Currently caught7 $bytes(%chins,b) $+ /48,000 Chinchompas6. Thats7 $bytes($calc(%chins * 265),b) $+ / $+ $bytes($calc(48000*265),b) xp6. Level7 %lvl $+ /996 Hunting. | /halt } } on *:nick: { if ($newnick == Gibb && $nick == $me) { /id | /join #rshelp,#fc,#tkoa#,#gibb,#rspk,#rs-market,#rstalk,#rscw,#rspc,#overkill } } on *:connect: { /nick Hiding | /nick Gibb } on *:OPEN:?: { if ($nick isop #rshelp || $nick ishop #rshelp) { /notice Gibb look at pm from $nick | { halt } } if (omgomg !isin $1) { /msg $nick 6Hey $nick $+ , 7You did not enter the password correctly so I will not see this message, contact me in #RShelp to either get the new password or be allowed to message me. Thanks. | /close -m $nick | /notice Gibb Chat with $nick closed } } alias c1 { return $+( 07,$1-,07) } alias c2 { return $+( 06,$1-,06) } on *:text:*:#: { if %bot == off { halt } else tokenize 32 $remove($strip($1-),$) if ($left($1,1) !isin !@.) halt if ($right($1,-1) == stats) var %style = astats elseif ($regex($1,/co?mb(at)?/Si)) var %style = combat elseif ($setskill($remove($1,@,!,.))) var %style = istat, %skill = $setskill($remove($1,@,!,.)) elseif ($right($1,-1) == setrsn) && ($2) { writeini DefRSN.ini RSNs $mask($fulladdress,3) $replace($2-,$chr(32),_) writeini DefRSN.ini RSNs $nick $replace($2-,$chr(32),_) .notice $nick $c1(Your default RSN has been set to) $c2($2-) $+ $c1(.) halt } else halt inc %ID if (#* iswm $2) && ($right($2,-1) isnum) { set $+(%,stats.goal.,%ID) $right($2,-1) tokenize 32 $1 $3- } if ($len($2-) > 12) { .notice $nick $c1(The RSN) $c2($2-) $c1(is too long.) cleanup %ID halt } elseif ($2) set $+(%,stats.rsn.,%ID) $replace($2-,$chr(32),-) elseif ($readini(DefRSN.ini,RSNs,$mask($fulladdress,3))) set $+(%,stats.rsn.,%ID) $ifmatch elseif ($readini(DefRSN.ini,RSNs,$nick)) set $+(%,stats.rsn.,%ID) $ifmatch else set $+(%,stats.rsn.,%ID) $nick set $+(%,stats.style.,%ID) %style set $+(%,stats.skill.,%ID) %skill set $+(%,stats.display.,%ID) $iif($left($1,1) == @,msg $chan,notice $nick) sockopen $+(stats.,%ID) hiscore.runescape.com 80 } on *:sockopen:stats.*: { var %id = $gettok($sockname,2,46) sockwrite -n $sockname GET /lang/en/aff/runescape/hiscorepersonal.ws?user1= $+ $($+(%,stats.rsn.,%ID),2) HTTP/1.1 sockwrite -n $sockname Host: hiscore.runescape.com $+ $crlf $+ $crlf } on *:sockread:stats.*: { sockread &Incoming bwrite $sockname -1 -1 &Incoming if ($bfind(&Incoming, 1, ).text) makehash $sockname elseif ($bfind(&Incoming, 1, does not feature in the hiscores.).text) { $($+(%,stats.display.,%ID),2) $c1(The RSN) $c2($+([,$($+(%,stats.rsn.,%ID),2),])) $c1(does not appear in the highscores.) cleanup $gettok($sockname,2,46) } } alias -l makehash { var %file = $1 bread %file 1 $file(%file).size &stats var %currentstat, %x = 1 while (%x) { var %x = $bfind(&stats,$calc(%x + 1),