hi, I know that rand(1,10) is to generate a number from 1 to 10. I couldn't find anything on the web to my needs: i want to randomly select a number from this bunch of numbers: {1,5,9,15,25,37,89} how can i achieve this? many thanks.
Suppose you place those numbers in an array. Now, you just need to generate a pseudorandom array index, e.g., with [man]array_rand/man.