public override void OnSpeech(SpeechEventArgs e)
{
if (!e.Handled && Active)
{
Mobile m = e.Mobile;
if (!m.InRange(GetWorldLocation(), m_Range))
return;
bool isMatch = false;
if (m_Keyword >= 0 && e.HasKeyword(m_Keyword))
isMatch = true;
else if (m_Substring != null && e.Speech.ToLower().IndexOf(m_Substring.ToLower()) >= 0)
isMatch = true;
if (!isMatch || !CanTeleport(m))
return;
e.Handled = true;
StartTeleport(m);
}
}