Difference between revisions of "SignLink"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
==Variabels in variables== | ==Variabels in variables== | ||
+ | As of version 1.16.5-v1, it is possible to declare variable names inside the value for a variable. For example, you can do: | ||
+ | |||
+ | <pre>/variable edit message set Hello, %playername%! It is %time%</pre> | ||
+ | |||
+ | And now putting %message% on signs (or in other variables!) will display the values of playername and time in-place. This can also be used to alias long variable names, so they can fit on signs. | ||
==Commands== | ==Commands== |
Revision as of 14:33, 1 October 2023
This page is Work in Progress!
RyanDo is currently working on this page. We recommend you to Create an account or Login if you already have an account. |
Command blocks
To change variables using command blocks, you can chain the edit and set commands.
/variable edit varname set newvalue
Variabels in variables
As of version 1.16.5-v1, it is possible to declare variable names inside the value for a variable. For example, you can do:
/variable edit message set Hello, %playername%! It is %time%
And now putting %message% on signs (or in other variables!) will display the values of playername and time in-place. This can also be used to alias long variable names, so they can fit on signs.