on *:TEXT:!getxp *:#:{ if (($2 == $null) && ($2 >= 100) && ($2 =< 1)) { notice $nick Correct usage: !getxp (1-99) } else { notice $nick To get a skill at level $2 $+ , you would need a total of $getxp($2) xp } }