If you have the way to calculate those levels, that would make it much easier. If not, make an ini file exp.ini with for each level the exp value, like
[experience]
1=0
2=83
3=174
...
99=1215514
Then put this in your remotes section
alias expdiff {
; usage: $expdiff(3,5)
; absolute value is returned, so $expdiff(5,3) returns the same value
if (($1 !isnum 1-99) || ($2 !isnum 1-99)) return
return $abs($calc($readini(exp.ini,experience,$2) - $readini(exp.ini,experience,$1)))
}
; for your bot to respond to other people:
on *:TEXT:!exp & &:#channelname: {
if ($expdiff($2, $3) != $null) msg $chan Difference is $v1 points
[/color:orange]else msg $chan incorrect levels![/color]
}
Make sure you change the channel name. You can leave out the orange part if you don't want to return anything when something wrong is asked.