Line 2:
Line 2:
</pre>
</pre>
<div style="border-radius: 10px; background-color: #f4f4f4; padding: 20px; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);">
<div style="border-radius: 10px; background-color: #f4f4f4; padding: 20px; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);">
−
−
== Magic Text Overview ==
−
−
Many triggers, actions, and constraints allow you to configure some text fields. Often, you will find a button next to the text input field that contains the "..." label. This button displays a complete list of "magic text" fields available in the context you are using.
−
−
If you want to type them manually instead, if you know them, be aware that there may be spelling/typing errors.
−
−
=== How Magic Text Works ===
−
−
The magic text allows a different value to be substituted at the point of call, instead of the standard static text that never changes. For example, it's possible to add an action that references a variable via magic text, and that variable's value will be substituted at the point the action is executed.
−
−
=== Magic Text Formats ===
−
−
Magic text can be written in two ways:
−
* Curly braces: {value}
−
* Square braces: [value]
−
−
Curly brackets are not supported on very old versions like v5.20 and below, but it's recommended to use them when interacting with dictionaries/arrays, as square brackets can get confusing very quickly.
== Magic Text Overview ==
== Magic Text Overview ==