Well, i want to have a text that can handle values, for example something like this:
"The number of the run is" random(5) ", Yay!"
I know the example is invalid, but i want it to be something like this. Can someone help me?
Develop games in your browser. Powerful, performant & highly capable.
Try plus (+) for concatentate and str( number ) to convert from value to string:
"Value = " + str(random(5)) + "! :-)"[/code:27z64wsd]
If you use the text concatenator & then you don't need to use str(). It's converted automatically.
"Value = " & random(5) & "! lol"[/code:2oybl3oj]
"its true..."&newline&"no seriously"
I always use "lol" + "text" the & symbol disturbs me