I am trying to select a random number using a command:

Randomize
(variable as integer) = Int (Rnd * #) + #


Actual Code:

Randomize
t = Int (Rnd * 7) + 0


I want the random number, if selected to not be able to be selected more than once, and once it has been selected and it will keep cycling until it finds a number that has not been selected.

I will post more of the code later, right now i just put down some key parts.
If you need to know more about the code or whatever, just reply or message me.