/// <summary> /// Runs the specified command. Passes it along to /// the active agent for processing /// </summary> /// <param name="command">command to execute</param> /// <param name="handled">was it handled?</param> public void RunCommand(String command, ref bool handled) { if (_currentAgent != null) { Log.Debug("Calling runcommand agent : " + _currentAgent.Name + ", command: " + command); var cmd = (command[0] == '@') ? command.Substring(1) : command; _currentAgent.OnRunCommand(cmd, null, ref handled); } }