You can use $2-4
msg chanserv access $chan $2-4
though this snippet may need some tweak and improvement.