diff --git a/MinecraftClient/config/sample-script-random-command.cs b/MinecraftClient/config/sample-script-random-command.cs new file mode 100644 index 00000000..506f7e65 --- /dev/null +++ b/MinecraftClient/config/sample-script-random-command.cs @@ -0,0 +1,11 @@ +//MCCScript 1.0 + +string[] commands = new[] { + "send command1", + "send command2", + "send command3" +}; + +int randomIndex = new Random().Next(0, commands.Length); +string randomCommand = commands[randomIndex]; +MCC.PerformInternalCommand(randomCommand); \ No newline at end of file