One thing I noticed, you are using "isum" incorrectly.

($right($nick,-1) isnum 10-99)

($right($nick,-1) >= 10) && ($right($nick,-1) <= 99)