our fellowship is now locked." cause an event in my program. So far I have been trying to use the ChatTextInterceptEventArgs.I have used the following code to initialize:
Core.ChatBoxMessage += new EventHandler<Decal.Adapter.ChatTextInterceptEventArgs>(Core_ChatBoxMessage);
And have set up the following function:
void Core_ChatBoxMessage(object sender, Decal.Adapter.ChatTextInterceptEventArgs e)
{
if (e.Text.ToString() == mStartTrigger)
{ TimerEventStart(); }
if (e.Text.ToString() == mAnnounceTrigger)
{ TimerEventProcessor(); }
if (e.Text.ToString() == "Arena One is now available for new warriors!"

{ Leader.PluginCore.Util.WriteToChat("Saw Announcement in Colliseum."
;}
The above does not work. Is e.text.ToString() the appropriate event arg to use. e.Text also does not work.
(My third e.Text is simply to try to determine when I finally get the function correct.)
I am using C#2010 Decal 2965 and the virindi bundle with my icon on the virindi bar.
Can anyone tell me what I am doing wrong and, if my entire choice of event arg is wrong, point me to the correct one to use. Many thanks for any help.


