Eval RNG 1-100 with a few numbers removed from the responses

How do i edit this and remove 3 numbers from being picked? for example i dont want it pull 13, 23, and 33. Thank you for any help I get :slight_smile:

$(eval const responses = [’ $(user) $(eval Math.floor((Math.random() * 100) + 1))!’];responses[Math.floor(Math.random() * responses.length)]:wink:

1 Like

Here’s a modified RNG.

$(eval a=[];for(i=1;i<=100;i++){if(![13,23,33].includes(i))a.push(i);}a[Math.floor(Math.random()*a.length)])

Perfect. TY!!! and I appreciate it so much <3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.