So yeah, here’s a pic from the docs – you can substitute anything in args
, or actually, any of the JSON part of the action using "_data"
or "_data_escaped"
(see below).
Just so you know though, a prompt will be shown automatically (although it’ll look different) if you don’t provide one, so you don’t necessarily have to save input beforehand.
(And creating a room always generates a random code, but you probably figured that out by now as you got to the joining in the docs)
If you don’t have it already, leave it blank to prompt the user to enter one.
You need to use "_data_escaped"
because "_data"
will substitute the string literally, and abc123
isn’t a valid keyword[1] in JSON. So, you’d want it to substitute it as a string. "_data_escaped"
will substitute the code as "abc123"
, which is denoted as a string, and won’t give you an error
Yeah this topic would work because the modded player is most related to the webplayer. Generally, things that have to do with project JSON editing on iPad go in This Siri Shortcut Can Modify your Projects | 𝓐𝔀𝓮𝓼𝓸𝓶𝓮_𝓔, questions about file structure usually go in Project JSON modification — Topic, and questions about the player go in this topic.
It’s pretty loose though, as you can kind of cross-apply concepts (apply concepts from one topic to another) to keep any one of these on topic. Hope this helps!
-
true, false, null… ↩︎