Document tilde syntax
This commit is contained in:
parent
e3d6042511
commit
351265007f
4
init.lua
4
init.lua
@ -696,7 +696,9 @@ S("• /give <name> <ItemString>: Two parameters. Example: “/give Player defau
|
|||||||
S("• /help [all|privs|<cmd>]: Valid inputs are “/help”, “/help all”, “/help privs”, or “/help ” followed by a command name, like “/help time”").."\n"..
|
S("• /help [all|privs|<cmd>]: Valid inputs are “/help”, “/help all”, “/help privs”, or “/help ” followed by a command name, like “/help time”").."\n"..
|
||||||
S("• /spawnentity <EntityName> [<X>,<Y>,<Z>]: Valid inputs include “/spawnentity boats:boat” and “/spawnentity boats:boat 0,0,0”").."\n\n\n"..
|
S("• /spawnentity <EntityName> [<X>,<Y>,<Z>]: Valid inputs include “/spawnentity boats:boat” and “/spawnentity boats:boat 0,0,0”").."\n\n\n"..
|
||||||
|
|
||||||
|
S("Some commands support the so-called tilde syntax. This allows you to specify numbers relative to some current value.").."\n"..
|
||||||
|
S("A tilde on its own (“~”) represents the current value of an argument (if applicable). The tilde character followed by a number (e.g. “~10”) means that that number will be added to the current value. Negative values work, too.").."\n"..
|
||||||
|
S("For example, “/teleport ~ ~5 ~” will teleport you 5 blocks upwards.").."\n\n\n"..
|
||||||
|
|
||||||
S("Some final remarks:").."\n\n"..
|
S("Some final remarks:").."\n\n"..
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user