Ok, so here's the deal, I'd like to write a trigger that does a few things. I want to capture the 'who list' and output it to a miniwindow. Firstly... the who list may have different colors, and ideally I'd like to capture them as well. Now I wrote a trigger that would work on any of the players on the who list, but I have no idea how to capture colors, etc... Here is some sample output (minus the color)Here is my trigger:
I'd also like to somehow include the first and last lines to ensure that this triggers only on the who list.
Name Idle Time
a blind seer 12s
a calm filly 58s
a determined swordsman 32s
a magical crafter 30s
Alissa the human 48s
an ebon charlatan 12s
Auril the human 4s
[HG] Donovan the troll
[SR] Rhyandra the human 24s
Telthor the catfolk 12s
There are roughly 17 people on. Only 11 of them are friendly, though.
Estimated active characters: 180 this month, 70 today.
Ferdarchi was last renewed 5 days 15 hours 6 minutes 24 seconds ago.<triggers>
<trigger
match="^(\s+)([\/\|\]|[BH]|[DG]|[DK]|[HG]|[MG]|[SR])?(\s+)?([A-Za-z\s]+)(\s)([0-9mhs\s]+)?$"
regexp="y"
send_to="2"
sequence="100"
>
<send>Triggered</send>
</trigger>
</triggers>I'd also like to somehow include the first and last lines to ensure that this triggers only on the who list.