I have idea for Piston, but not sure way to proceed!


#21

I have a thought, not sure if I can do it. Here is the idea. I have two speak text statement, one for entering and one for leaving. Could I add one or more additional Speak text for each entry and exit. So it would be more random. I am not sure that would even be possible. At least there would be a fifty, fifty chance of one or the other for entry and exit.


#22

Instead of a value, provide it with an expression

random("text 1 here", "text 2 here", "text 3 here")

One thing I haven’t been able to make work is having a variable inside the random text… maybe it works now, just haven’t messed with it lately.


#23

Do I put that after the line that says Speak Text?


#24

Yes, default would be Value, change it to Expression.


#25

That worked great, it randomly speaks one of the three text lines. Thank you. Is there a definition of all the commands on the WiKi?


#26

Yes – https://wiki.webcore.co/Functions, most if not all of them are there. Also, you’re not limited to three, add more for more randomness lol :slight_smile:


#27

Thank you. I love random expressions.