Random out?

Hi,

does anyone know of a way to generate random numbers, but each time a new number is genereated, the previous one is struck off (so it can’t be called again).

i have a random text thing which matches words, but i don’t want to call the same combo twice and my Math.random does call the same number sometimes.

Once i have depleted the numbers, i want to reset and start again.

thanks in advance,

Kdz