0

Random

is there a way to put a randomize for example there are numbers 1-20 and if 6 appeared it tells u something different than the others?

13th Dec 2018, 8:00 PM
Adamadel
Adamadel - avatar
2 Answers
+ 4
If(rnd==6){do somthing;} else{do this instead;}
13th Dec 2018, 8:31 PM
D_Stark
D_Stark - avatar
+ 1
Use a switch case
14th Dec 2018, 1:13 AM
Chriptus13
Chriptus13 - avatar