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

@ -1096,6 +1096,15 @@ namespace MinecraftClient
return null;
}
/// <summary>
/// Get a dictionary containing variables (names and value)
/// </summary>
/// <returns>A IDictionary<string, object> containing a name and a vlaue key pairs of variables</returns>
public static Dictionary<string, object> GetVariables()
{
return AppVars;
}
/// <summary>
/// Replace %variables% with their value from global AppVars
/// </summary>