elseif (%style == -t) { if (!$hget(%table,%skill)) %display $c2(%rsn) $c1(does not appear in the hiscores for) $c2(%skill) else { if ($right($2,-1) isnum 1-99) { if ($right($2,-1) > 99) { %display levels go from 1 to 99. | halt } if ($right($2,-1) <= 98) { var %xpfrom = $xp($3) } else { var %xpfrom = $2 } var %xpto = $xp($right($2,-1)) var %xpdif = $calc(%xpto - %xpfrom) if (%xpdif < 1) { %display You would already be level $3 with $bytes(%xpfrom,bd) 1Experience! | halt } if (%xpto) { if ($right($2,-1) <= 98) { %display The xp required from level $2 $+ $chr(40) $+ %xpfrom $+ xp $+ $chr(41) to level $right($2,-t) $+ $chr(40) $+ %xpto $+ xp $+ $chr(41) is $bytes(%xpdif,bd) $+ . } else { %display From $bytes($2,bd) experience, you would need $bytes(%xpdif,bd) more Experience to get to level $3 $+ . } } else { Halt } } else ($right($2,-1) <= 99) { %display From level 1 to level $right($2,-1) requires $bytes($xp($2),bd) experience. } } }