[script] n0=on $*:TEXT:$(/^(?>\Q $+ $me $+ \E,? ?)?([!.@])/Si):#:{ n1= tokenize 32 $iif($me isin $1,$deltok($1-,1,32),$1-) n2= if ($right($1,-1) == rank) { n3= if ($3) { n4= if ($skill($2)) { n5= hadd -m $+(rank.,$nick) skill $skill($2) n6= } n7= else { $iif(@ isin $1,msg $chan,notice $nick) $c1([!@]Rank SKILL 1-1000000) | halt n8= } n9= if ($3 isnum 1-1000000) { n10= hadd -m $+(rank.,$nick) rank $3 n11= } n12= else { $iif(@ isin $1,msg $chan,notice $nick) $c1([!@]Rank SKILL 1-1000000) | halt n13= } n14= } n15= else { $iif(@ isin $1,msg $chan,notice $nick) $c1([!@]Rank SKILL 1-1000000) | halt n16= } n17= hadd -m $+(rank.,$nick) disp $iif($globs($chan),notice $nick,$iif(@ isin $left($1,1),msg $chan,notice $nick)) n18= sockopen $+(rank.,$nick) hiscore.runescape.com 80 n19= } n20= elseif ($regex($1,/^[!@](combatonjoin|cmbonjoin|checkcmb|checkreq|joinreq)/Si)) { n21= if ($nick isop $chan) { n22= if ($2 == on) { writeini cmbj.ini $network $chan on | notice $nick $c1(Combat check) $c2(on join is) 9ON } n23= if ($2 == off) { writeini cmbj.ini $network $chan off | notice $nick $c1(Combat check) $c2(on join is) 4OFF } n24= } n25= } n26= elseif ($rstyle($right($1,-1))) { n27= unset %full n28= hadd -m $+(rsh.,$nick) disp $iif($globs($chan),notice $nick,$iif(@ isin $left($1,1),msg $chan,notice $nick)) n29= hadd -m $+(rsh.,$nick) style $rstyle($right($1,-1)) n30= $iif($hget($+(rsh.,$nick),goal),hdel $+(rsh.,$nick) goal) | $iif($hget($+(rsh.,$nick),pgoal),hdel $+(rsh.,$nick) pgoal) n31= if ($hget($+(rsh.,$nick),style) == single) { hdel $+(rsh.,$nick) mons | hadd -m $+(rsh.,$nick) skill $skill($right($1,-1)) | if ($chr(35) isin $2) || (- isin $2) { hadd -m $+(rsh.,$nick) goal $right($2,2)) } | if (@ isin $3) { hadd -m $+(rsh.,$nick) mons $replace($3-,$chr(32),-,@,$null) } | elseif (@ isin $4) { hadd -m $+(rsh.,$nick) mons $replace($4-,$chr(32),-,@,$null) } | elseif (@ isin $2) { hadd -m $+(rsh.,$nick) mons $replace($4-,$chr(32),-,@,$null) } } n32= if ($hget($+(rsh.,$nick),style) == pest) { hadd -m $+(rsh.,$nick) pskill $skill($2) | hadd -m $+(rsh.,$nick) pgoal $iif($chr(35) isin $3,$right($3,2)) } n33= if ($hget($+(rsh.,$nick),style) == stats) { if (-e isin $2) { hadd -m $+(rsh.,$nick) type Exp } | elseif (-r isin $2) { hadd -m $+(rsh.,$nick) type Rank } | else { hadd -m $+(rsh.,$nick) type Level } } n34= if ($chr(35) isin $2) || (- isin $2) || ($skill($2)) || (@ isin $2) { tokenize 32 $deltok($1-,2,32) } n35= if ($chr(35) isin $2) || (@ isin $2) { tokenize 32 $deltok($1-,2-,32) } n36= if (@ isin $3) { tokenize 32 $deltok($1-,3-,32) } n37= if (@ isin $4) { tokenize 32 $deltok($1-,4-,32) } n38= /username $iif($2,$2-) n39= if (!$hget($+(rsh.,$nick),user)) { $iif($globs($chan),notice $nick,$iif(@ isin $left($1,1),msg $chan,notice $nick)) No Username Given | halt } n40= sockopen $+(rsh.,$nick) hiscore.runescape.com 80 n41= } n42= elseif ($right($1,-1) == compare) || ($right($1,-1) == comp) { n43= unset %full n44= if ($4) { n45= hadd -m $+(compare.,$nick) skill $skill($2) n46= hadd -m $+(compare.,$nick) user1 $3 n47= hadd -m $+(compare.,$nick) user2 $4 n48= } n49= elseif (!$4) { n50= $iif(@ isin $1,msg $chan,notice $nick) $c1(Its !compare SKILL USER-1 USER-2) n51= halt n52= } n53= hadd -m $+(compare.,$nick) disp $iif($globs($chan),notice $nick,$iif(@ isin $left($1,1),msg $chan,notice $nick)) n54= sockopen $+(compare.,$nick) hiscore.runescape.com 80 n55= } n56= elseif ($regex($1,/[!@](defname|setname|setrsn|defrsn)/Si)) { n57= if ($chr(36) isin $1-) { notice $nick You Cannot Use $ In Runescape... | halt } n58= elseif ($len($2) <= 12) { writeini rsn.ini rsn $address($nick,2) $replace($2-,$chr(32),$chr(43)) n59= notice $nick $+($c1([),$c2($2-),$c1(])) $c1(Added and saved under host) $+($c1([),$c2($address($nick,2)),$c1(])) n60= } n61= } n62=} n63=on *:sockopen:rsh.*: { n64= if ($sockerr) { halt } n65= sockwrite -nt $sockname GET /hiscorepersonal.ws?user1= $+ $hget($sockname,user) HTTP/1.1 n66= sockwrite -nt $sockname Host: hiscore.runescape.com $crlf $+ $crlf n67=} n68=on *:sockread:rsh.*: { if ($sockerr) { halt } | else { var %rshread | sockread %rshread n69= if (*does not feature in* iswm %rshread) { $hget($sockname,disp) $c1(User Cannot Be Found) | hadd -m $sockname nf nf | halt } n70= if (*