+ Options[args[0]] = args[1];
+ ApplyOptions();
+ break;
+ case "save":
+ SaveConfig();
+ break;
+ default:
+ bool found;
+ if (args.Length > 0) {
+ found = wt.Plugins.Call(cmd, args);
+ if (!found)
+ Error("No function {0}({1}) found", cmd, String.Join(", ", args));
+ } else {
+ found = wt.Plugins.Call(cmd);
+ if (!found)
+ Error("No function {0}() found", cmd);
+ }
+ if (found)
+ Console.WriteLine("Plugin function {0} called successfully", cmd);