mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add setrnd command (#1846)
* Add setrnd command * Make rand private * Add console-like argument behaviour * Remove unused using declarations * Add german and english translations * Improve translation, Add notice to config README, Add check wheather arguments are provided * Add some comments * Remove typo * Add %player% constant to setrnd * Remove test variable and add comments * Remove typo * Reverse changes * Remove translations
This commit is contained in:
parent
333358c73b
commit
381b8ea7d1
5 changed files with 149 additions and 0 deletions
|
|
@ -120,6 +120,8 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q
|
|||
- `log <text>`: display some text in the console (useful for scripts)
|
||||
- `list`: list players logged in to the server (uses tab list info sent by server)
|
||||
- `set varname=value`: set a value which can be used as `%varname%` in further commands
|
||||
- `setrnd variable string1 "\"string2\" string3"`: set a `%variable%` to one of the provided values
|
||||
- `setrnd variable -7to10`: set a `%variable%` to a number from -7 to 9
|
||||
- `wait <time>`: wait X ticks (10 ticks = ~1 second. Only for scripts)
|
||||
- `move`: used for moving when terrain and movements feature is enabled
|
||||
- `look`: used for looking at direction when terrain and movements is enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue