EverQuest 2 (/whoraid events)
From DKPLP Doc
EverQuest 2 (/whoraid events) is a predefined pattern set designed to be used with EverQuest 2 and the /whoraid command. It's similar to the EverQuest 2 (/whoraid) pattern set, but is purely event-based. Every snapshot produces one event containing the participants.
Contents |
Settings
- Input type
- Text
- Parse mode
- Classic
- Reward system
- Event-based
- Parsed times are in UTC
- True
- Log member pattern
- \((\d+)\)\[.*?\] \[.*?\] (\w+) \(.+\)
- Log member format
- 0|0|0|0|0|$1|$2
- Zone pattern
- \((\d+)\)\[.*?\] /whoraid search results for (.*?):
- Zone format
- 0|0|0|0|0|$1|$2
- Add command pattern
- \((\d+)\)\[.*?\] You tell .*? \(\d+\),\s*"\*[aA]dd (\w+)"
- Add command format
- 0|0|0|0|0|$1|$2
- Remove command pattern
- \((\d+)\)\[.*?\] You tell .*? \(\d+\),\s*"\*[rR]emove (\w+)"
- Remove command format
- 0|0|0|0|0|$1|$2
- Loot pattern
- \((\d+)\)\[.*?\] You tell .*? \(\d+\),\s*"\*[Ll]oot (\w+) - (.*?) - (-?\d+(?:\.\d+)?)"
- Loot format
- 0|0|0|0|0|$1|$2|$3|$4
- Event pattern
- \((\d+)\)\[.*?\] /whoraid search results for (.*?):
- Event format
- 0|0|0|0|0|$1|$2|0
Notes
The default reward of each recorded event is specified by the last number in the event format. The default format 0|0|0|0|0|$1|$2|0 gives 0 DKP to each event, to per default give every event 1 DKP one would change it to 0|0|0|0|0|$1|$2|1.
Commands
The pattern set allows the following special commands to be used inside the game. The parser will apply special meaning to them if they are found in the log when parsing.
Loot
Adds the purchase of a loot item to the raid. It's invoked by typing *Loot <buyer's name> - <item's name> - <price> into any chat channel.
Example
Lets say that a Sword of uber drops and that a person named Foo buys it for 100 DKP. To make sure that the purchase is registered by the parser you type
*Loot Foo - Sword of uber - 100
into any chat channel.
Add
Adds a person to the last taken snapshot. It's invoked by typing *Add <name> into any chat channel. The name is not case-sensitive.
Example
Lets say a log has been taken, but it turns out that Foo was linkdead at that point. Therefor you type the following into a chat channel.
*Add Foo
The name is not case sensitive so using fOo would be understood by the parser. The parser then adds Foo to the last taken log as if Foo had not been linkdead.
Remove
Removes a person to the last taken log. It's invoked by typing *Remove <name> into any chat channel. The name is not case-sensitive.
Example
Lets say a log has been taken, but it turns out that Bar has been standing AFK at the zonein for the last hour. You decide that Bar should be removed from the log and therefor type the following into a chat channel.
*Remove Bar
The name is not case sensitive so using bAR would be understood by the parser. The parser then removes Bar from the last taken log as if Bar had not been present.
Event
Adds an event at the point of time when the command was used. It's invoked by typing *Event <name> - <amount> into any chat channel.
Example
Lets say that an boss named Foo has been killed. In your system every such kill is rewarded by giving each person present 5 DKP, so you want to add an event named Foo that rewards 5 DKP and therefor type
*Event Foo - 5
into any chat channel.
