Output 4 random numbers between 1-8 simultaneously without duplicates

midierror's icon

Is this possible? I've written the worlds longest if statement, and i can't get this to work!

I'd smiply like to generate 4 random numbers between 1-8 at the same time without duplicates.

?!?!

double_UG's icon

urn

Max Patch
Copy patch and select New From Clipboard in Max.

midierror's icon

Someone came up with this solution:

Max Patch
Copy patch and select New From Clipboard in Max.