public static void AddConCommandArgsMinMax(string name, string description, Action<string[]> lambda, int minArguments, int maxArguments, long flags = 0) { if (IsCommand(name)) return; ConCommand cc = new ConCommand(lambda, description, name, flags); cc.SetArgNumMinMax(minArguments, maxArguments); Commands.Add(cc); }