public override void OnClick() { if (!(m_Mobile is PlayerMobile)) { return; } string myQuest = CharacterDatabase.GetQuestInfo(m_Mobile, "AssassinQuest"); int nSucceed = AssassinFunctions.DidAssassin(m_Mobile); if (nSucceed > 0) { AssassinFunctions.PayAssassin(m_Mobile, m_Giver); } else if (myQuest.Length > 0) { if (!m_Mobile.HasGump(typeof(SpeechGump))) { m_Mobile.SendGump(new SpeechGump("Failure Is Frowned Upon", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "XardokFail"))); } } else { m_Giver.Say("Done? With what? I am not sure what things you speak of."); } }