public void Flush(Mobile from, bool flushToLog) { if (m_Responses.Count > 0) { for (int i = 0; i < m_Responses.Count; ++i) { MessageEntry entry = m_Responses[i]; from.SendMessage(entry.ToString()); if (flushToLog) { CommandLogging.WriteLine(from, entry.ToString()); } } } else { for (int i = 0; i < m_Failures.Count; ++i) { from.SendMessage(m_Failures[i].ToString()); } } m_Responses.Clear(); m_Failures.Clear(); }