rendered paste body elseif (*</table>* iswm %i) {
if ($left(%stats.style,5) == skill) {
if ($($+(%,stats.,$gettok(%stats.style,2,46),.exp),2)) {
var %rank = $($+(%,stats.,$gettok(%stats.style,2,46),.rank),2)
var %exp = $($+(%,stats.,$gettok(%stats.style,2,46),.exp),2)
var %level = $($+(%,stats.,$gettok(%stats.style,2,46),.level),2)
if (%level == $null) { %stats.display $c1(The username ") $+ $c2(%stats.user) $+ $c1(" does not appear in the Runescape Hiscores for) $+($c2,$gettok(%stats.style,2,46),$c1,.)
unset %stats.* | sockclose stats.* | unset %id [ $+ [ %id-rem ] ] | halt }
if (%stats.style == skill.overall) {
; ########## OUTOUT 1 ##############
%stats.display $c1($statstrue($gettok(%stats.style,2,46)) stats for) $+($c2,%stats.user,$c1,:)
%stats.display $c1(Level:) $c2(%level) $c1(Rank:) $c2(%rank) $c1(Exp:) $c2(%exp)
; ########## OUTOUT 1 ##############
unset %stats.* | sockclose stats.* | unset %id [ $+ [ %id-rem ] ] | halt }
; ########## OUTOUT 2 ##############
%stats.display $c1($statstrue($gettok(%stats.style,2,46)) stats for) $+($c2,%stats.user,$c1,:)
%stats.display $c1(Level:) $c2(%level) $c1(Rank:) $c2(%rank) $c1(xp:) $c2(%exp) $&
$c1(xp till lvl12 $calc(%level + 1) $+ 14:) $c2($bytes($calc($statsxp($calc(%level + 1)) - $remove(%exp,$chr(44))),b))
; ########## OUTOUT 2 ##############
}
else {
%stats.display $c1(The username ") $+ $c2(%stats.user) $+ $c1(" does not appear in the Runescape Hiscores for) $+($c2,$gettok(%stats.style,2,46),$c1,.)
}
unset %stats.* | sockclose stats.* | unset %id [ $+ [ %id-rem ] ]
}