public override void OnResponse(NetState sender, RelayInfo info) { if (info.ButtonID == 0) { m_From.SendLocalizedMessage(501235, "", 0x35); // Help request aborted. } else { TextRelay entry = info.GetTextEntry(0); string text = (entry == null ? "" : entry.Text.Trim()); if (text.Length == 0) { m_From.SendMessage(0x35, "You must enter a description."); m_From.SendGump(new PagePromptGump(m_From, m_Type)); } else { m_From.SendLocalizedMessage(501234, "", 0x35); /* The next available Counselor/Game Master will respond as soon as possible. * Please check your Journal for messages every few minutes. */ PageQueue.Enqueue(new PageEntry(m_From, text, m_Type)); } } }
public override void OnResponse(Mobile from, string text) { from.SendLocalizedMessage(501234, "", 0x35); /* The next available Counselor/Game Master will respond as soon as possible. * Please check your Journal for messages every few minutes. */ PageQueue.Enqueue(new PageEntry(from, text, m_Type)); }