Random choosing

I have a question, how can I set this if you e.g. job writes that the nightbot writes butcher the first time and baker the second time.
how can I make the nightbot randomly choose that.
thank you i would like to know

In the command code below, enter a list of choices bounded by backticks and separated by commas.

$(eval a=[`enter`,`a`,`list`,`of`,`choices`];a[Math.floor(Math.random()*a.length)])

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