Random function.

taekwondokid42

New Member
Messages
268
Reaction score
0
Points
0
Is there any tag that states "if this random number has already been chosen, try again," or do I have to write an if/then statement/loop?
 

Slothie

New Member
Messages
1,429
Reaction score
0
Points
0
Keep the random numbers that have been chosen in an array and use an if else statement with the in_array command.
 
Top