When i clicked on ok, file need to be choose from file chooser & set text to random from text file.
Example - list is
A.mango
B.apple
c.banana
D.orange
Click On Ok
Set Random Text from a file
C. banana
See this demo
dropbox.com/s/jw09pqwk1wwd4mp/RandomLineFromTextFile.c3p
Develop games in your browser. Powerful, performant & highly capable.
Wow Amazing Work Thanx Buddy
Need To Explain How Its Works
What exactly do you want to know?
The text file is loaded into a string variable. Then a random line is extracted using tokenat and tokencount expression, you can find them in the documentation.
Thanx