I want to do something like
exclude = 2;
variable = floor(random(4));
variable != exlude
If not repeat until variable != exlcude.
Is there an easy way to do this or do I have to code it myself?
I can't use choose because the random number may be very large