Added a command that executes other command if a condition is met.

This commit is contained in:
Milutinke 2022-09-11 22:35:26 +02:00
parent 59cc4cea7c
commit 77da611411
6 changed files with 126 additions and 7 deletions

View file

@ -1005,6 +1005,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>