!addcom -cd=5 !rng $(eval a=decodeURIComponent($(querystring)).split( ).map(a=>parseInt(a)).filter(a=>!isNaN(a));a.length==2&&a[1]>=a[0]?Math.floor(Math.random()*(a[1]-a[0]+1))+a[0]:Math.ceil(Math.random()*100))
^^^^allows people to do !rng (min) (max). What I'm trying to do is make it so that only certain viewers (Subs and non-subs) be able to do !rng (min) (max) of different kinds. For example, subs would be getting !rng with a higher (min) than normal viewers. Is there any way for me to set this up?
What I was trying to do was find a way to have the command contain a (min) (max) as I haven't been able to figure out how to not let non-subs to give themselves the desired (min) (max) as I can't simply do !rng subs x y as they'd still have to do !rng subs x y x y due to the first x y being part of the !rng command itself.
Any help would be greatly appreciated!!