public static Command GetCommand(string prefix) { lock (m_commands) { if (m_commands.ContainsKey(prefix)) { return m_commands[prefix]; } else { return null; } } }