I have a notecard with a different word on each line, and I’d like to be able to select from the lines randomly. How can I do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, as you mention, you need a notecard. For this example, I’m using one named “colors” with the following contents:
With that notecard present, the following script will read and chat a random line from the card each time the prim is touched.