Read me
How to install Prots.txt
These triggers work in zmud v7.21 (last version)
I'm unsure of backwards compatibility since many of the triggers use regexp patterns.
Before you do anything, delete any and all other prot trigs you might have.
Conflicting alias names and variable names: prots,timer and any prot names.
1) download Prots.txt 2) Run zmud, obviously 3) Open triggers menu 4) If you have a class named Prots in the root dir, delete it. 5) And while you are still in the trigger editor, file -> import text -> browse to the Prots.txt you downloaded and import it 6) enjoy decent prot trigs
How these prot triggers work
These triggers include conjurer,druid,tarmalen,priest,nun,templar,psionicist,barbarian and a few other guilds' prots.
Compatible with resist dispel and dispel magical protection spells. @prots variable resets when you enter the game.
If you go linkdead and recover, prot timers default to zero, but you can still see what prots you have on, unless some of
them expired while you were ld. (this is because prots use %ctime internal variable)
Triggers are for each spell on/off message, these triggers launch two aliases, pon and poff, short for prot on, prot off. These aliases modify the prot variable, adding new things or removing old ones. They also trigger a message to party channel, telling people when a prot drops and how long it lasted. You can easily add more prot triggers for any spells I have not added yet if you're a bit familiar with zmud script, just study the existing triggers for the syntax. "pr" is the alias that reports your prot status to party channel. This is the same alias that gets triggered every time someone tweaks you. Tweak also works remotely.
Because of the nature of the pon and poff aliases, you can make custom timers for whatever you want. Just type "pon protname" and it will show up in your prots, and "poff protname" when you want it off. For prot names that are longer than one word, you will need to add either "" or {} around its name.
About resist dispel and "sticky" prots. The format "pr" alias reports is protname(time), for example AoA(4:20). To differentiate between between resist dispel prots and normal ones, the triggers use () for normal prots and then for ones cast with resist dispel, it's {}, AoA{4:20}, the different parenthesis tell you if it's sticky or not. I completely stole the idea for different parenthesis from someone else, it seemed like a fun way to report sticky prots.
// Osku, 12/05/2012
// Update on 10/10/2017, added sticky counter for resist dispel stacks