This addon by Saeris is designed to facilitate and streamline a multitude of automatic chat messages, selected either randomly or non-randomly, to be sent in correspondence to any spell, ability, or chat/combat message, and all with a convenient and intui
This addon is designed to facilitate and streamline a multitude of automatic chat messages, selected either randomly or non-randomly, to be sent in correspondence to any spell, ability, or chat/combat message, and all with a convenient and intuitive user interface. The interface is divided into sections:
- Category: This is a superset of Actions, divided into logical groups. Select a Category on the configuration frame for more information about it.
- Action: This is the spell, ability, etcetera. This contains Roll Ranges. When an Action is triggered, a random 1 - 1000 roll takes place, and all Roll Ranges belonging to the Action which encompass the random number are triggered.
- Roll Range: This is the low-to-high range of numbers that give the optional element of randomness to configurable speech. If no randomness is desired, a Roll Range set to 1 - 1000 will always trigger. This also specifies the set of times (start, stop, or interrupt of the cast or channel) at which the Entries are allowed to be sent. If a roll lands in a Roll Range, all Entries therein are triggered in sequential order.
- Entry: This is the actual message itself, and any options pertinent to that message, such as the channel to which it will be sent, the language in which it will be sent, the number of seconds to delay before sending it, and other options. When an Entry is triggered, the configured text is actually sent.
Essentially, when an Action is detected, a single 1 - 1000 roll is performed. Then, each Roll Range within that Action is checked to see whether that roll falls between the minimum and maximum for the range. If so, every Entry in the Roll Range is triggered, in sequential numerical order. This is a powerful system, as Roll Ranges can overlap if desired.
Type "/segui" for slash commands. Typing "/segui config" will toggle the configuration frame, wherein the majority of options are documented and explained.
Included in the various Categories is a combat event parser which is very powerful. However, it is also somewhat complex, as a result of this power. Its formats are described in the Category dropdown button's tooltip on the configuration frame in-game, but here are some examples of the formats that it accepts:
[list][*]<1 PARTY_KILL><3 playername>
Assuming "playername" is replaced with your character's name, this Action configuration will trigger when you kill something. It works by first matching the "PARTY_KILL" combat event (the first argument) which propagates whenever someone in your raid group (including you) kills something. When that is matched, it moves on to checking the name of the source of the kill (the third argument) to determine whether that matches your own name. If it does, obviously this indicates that you just killed something, and Segui can send messages as a response to this occurence.[*]<1 PARTY_KILL><3 playername><6 enemyname>
This is an extended version of the above, except this will only trigger when you kill a unit named "enemyname". This works in a similar fashion to the above, checking the name of the destination of the kill (the sixth argument) to determine whether it matches the name you input.[*]<1 PARTY_KILL><3 playername><7 0x4FF>
This is another modified version, but this one checks to determine whether the unit you killed is a player. The fourth and seventh arguments (for the source and destination) in any combat event are "unit flags", which contain a great amount of information about the unit in question. These flags are described on Wowwiki.com. The particular flag used here, for argument number seven, means "a player of any affiliation and any reaction".[*]<1 _DAMAGE><4 0x411>
This format ignores the event prefix and looks only at the suffix ("_DAMAGE"). In doing so, it can trigger from damage that you deal from any source, be it melee or ranged or spell. Also, unlike the other examples which match you as the source of the event by checking your name, this one uses the unit flag to determine whether you were the source. The flag used here means "a friendly player who belongs to me". Mind Controlled players are technically classified as pets, so this unit flag corresponds solely to you.
For extensive information about combat events, including their prefixes and suffixes and unit flags, read Wowwiki.com.