If I understand your question right you can use different userlevels like this:
if ($ulevel == 10)
This will make the script trigger if the user making the input got userlevel 10.
So you can make more userlevels in the script like
if ($ulevel == 10) { /msg $nick Hello you got userlevel 10 }
if ($ulevel == 11) { /msg $nick Hello you got userlevel 11 }