private void Core_ChatBoxMessage(object sender, Decal.Adapter.ChatTextInterceptEventArgs e) { //Util.WriteToChat(e.Text); if (e.Text.Contains("A fine reward for your formidable deed")) { Util.WriteToChat("Contains Check Is Good"); if (TurnInFlag) { Util.WriteToChat("Flag Is Good"); Util.WriteToChat(IvoryCrafter.TurnIn()); //TurnInFlag = IvoryCrafter.GenerateItemLists(); } } }
void Core_ChatBoxMessage(object sender, Decal.Adapter.ChatTextInterceptEventArgs e) { //TODO: incoming chat handling code }