Conditional user command with random generator for unknown

Asked May 18, 2025·2 replies·Last activity 1 year ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I'm wanting to make a command that has a set response per designated user but random response on a $(eval Math.floor((Math.random()*16)+1)) for non designated users. Is it possible to do this?

2 replies

What is a "designated user?" Are these regulars, subscribers, or VIPs? You can leverage the $(userlevel) variable to match on the requesting user's userlevel.

by "designated user" I wanted it to be a different number per username but not one specific number if that makes sense - $(eval $(touser)==CanIGetAHoooYaaa$(touser)'s D is 16 inches long:$(touser)'s D is $(eval Math.floor(Math.random()*6)) inches long;).

So I wanted it to have 10 for a different person and then 2 for a different, if I try to add it as usernames with different sizes it pulls the 16 as classified as the first number.