Code:
June 18, 2007 -- By Amadeus
[ISXEQ2-20070607.0059]
* Added new EVENTS:
1. [B]EQ2_onIncomingChatText[/B](int ChatType, string Message, string Speaker, string Target, string SpeakerIsNPC, string ChannelName)
2. [B]EQ2_onTellIgnored[/B](string Message, string Speaker)
~ NOTES:
1. First, these events are MUCH better and reliable than the current chat triggers (which I won't change). They only will fire when
first received, and will not 'refire' when you switch chat tabs. However, please understand that this is ONLY for 'chat' type
text (ie, anything that originated from an NPC or PC), not other text that comes through the chat window such a skillups, etc.
2. The "Type" is an integer representing the 'type' chat you're receiving. For example, "Say" is 8 and "tell" is 27. The community
can post a list of types, or you can experiment to discover the ones you need if you want to differientiate between chat types.
3. If the "Target" isn't known (or if the chat doesn't have a target, like a 'say'), then it will be an empty string
4. If the chat is not from a custom chat channel (ie, "Level_20-29"), then the "ChannelName" parameter will be an empty string
5. 'SpeakerIsNPC' will be either "TRUE" or "FALSE"
5. The "EQ2_onTellIgnored" EVENT is sent to you when ISXEQ2 automatically filters a tell for you. In other words, if you want to know
when gold farmers are spamming you, then you can use that event. (Or, if you want to know if anyone is trying to impersonate a gold farmer.)