Changes
Page history
added explicit self targeter to nested variables example
authored
May 16, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Variables.md
View page @
9e867cdd
...
...
@@ -79,8 +79,8 @@ Variables can also be nested indefinitely: if this is done, the innermost variab
```
yaml
Skills
:
-
setvariable{var=caster.hello;type=STRING;val=example_name}
-
setvariable{var=caster.example_name;type=STRING;val=Hello There!}
-
setvariable{var=caster.hello;type=STRING;val=example_name}
@self
-
setvariable{var=caster.example_name;type=STRING;val=Hello There!}
@self
-
message{m="<caster.var.<caster.var.hello>>"} @PIR{r=10}
```
> In this example, the message would spell "Hello there!"
\ No newline at end of file