I don't see the need for kicking and banning:
on @$*:text:/^!1[89]|[2-4][0-9]|50$/S:#:pvoice 1 # $nick
This will match the age from 18 to 50 respectively upon the
!<AgeHere>
but this kind of snippet to me is prone to being lied to, not really useful.