Added /execmulti and /execif commands.

Added a way to execute multiple commands with a single command and a conditional command.
The documentation will be updated soon.
This commit is contained in:
Anon 2022-09-19 15:26:53 +00:00 committed by GitHub
commit b5cf315ca1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 169 additions and 1 deletions

View file

@ -273,6 +273,19 @@ cmd.entityCmd.distance=Distance
cmd.entityCmd.location=Location
cmd.entityCmd.type=Type
# Exec If
cmd.execif.desc=Allows you to execute a command if a condition is met. (You can use variables from MinecraftClient.ini and /set command, as well as CSharp expressions)
cmd.execif.executed=The condition '{0}' was met, executed command '{1}' with result '{2}'.
cmd.execif.executed_no_output=The condition '{0}' was met, executed command '{1}', no result was returned.
cmd.execif.error_occured=An error has occured while executing the command: {0}
cmd.execif.error=Error: {0}
# Exec Multi
cmd.execmulti.desc=Execute multiple commands one after another
cmd.execmulti.executed=Executed the command '{0}' with {1}
cmd.execmulti.result=result '{0}'!
cmd.execmulti.no_result=no result!
# Exit
cmd.exit.desc=disconnect from the server.