New Events

Amadeus

The Maestro
Staff member
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.)
 

ownagejoo

Well-Known Member
Ok for the Chat type this is what I have got so far:

8 - Says
9 - Shouts
18 - Guild Chat
26 - NPC to Player
27 - Tells
31 - OOC
33 - All Custom CHannel Names - Name in Channel Name Variable

Will add more when I get them
 

hegvape

Well-Known Member
Here's two more.

15 - Group Chat
16 - Raid Chat


Hey Ama, will You add any Guild Announcements in the future?
Like Guildmember Logged in/out, Writs, HQ, Loot, Promotion, Recruiter, Recruiting, New member and Level (adv/trade)
 

hegvape

Well-Known Member
I am using the triggers in a script I made to do some Greets/Grats stuff (guild caretaker bot), it even choses a few random messages I send back to /gu.
But I have to use FlushQueued for the triggers not to "refire"... it works but I think It would work even better if I could use an event.

Thanks for a great product!
 
Top Bottom