I have an aura trigger that lets me know when the aura is down. Is there any way to remove the "Rk. II" and "Rk. III" from the output?
Currently the simplistic trigger is this:
{S} expires.
And it does an audio trigger of:
Your {S} has expired.
This works, but when it does rank 2 and rank 3 spells it says:
Your <name_of_aura> rk eye eye eye has expired.
I am looking to get a single trigger that works for all three ranks. Here are my examples:
Befuddler's Aura
Befuddler's Aura Rk. II
Befuddler's Aura Rk. III
Smokecloud
Smokecloud Rk. II
Smokecloud Rk. III
I am looking to get one trigger that will pull out the full name of the aura (minus the rank) and have that as a variable I can set it for the audio trigger.
I have attempted to make two different triggers, one for the single ranked aura and one for the rank 2 and 3 auras, but the single rank aura is the only one that triggers.
I went as far as to attempt to make a null audio trigger in the Gnomish Articulator so that "Rk. II" and "Rk. III" were empty and it would not say anything...but it will not allow an empty same for the Phonetic Word. So now I have two that say "Rank 2" and "Rank 3" (so I do not get the "rk. eye eye eye"), but I do not care what the rank is, and I am trying to avoid it altogether.
Any ideas on how I can resolve this?
Thanks!
Removing Rank (Rk. II and Rk. III)
Re: Removing Rank (Rk. II and Rk. III)
This is my favorite solution (enc aura for example):
Search Text:
Search Text:
Search Text:
{s1} = Befuddler's Aura
{s2} = Rk.
{s3} = III
ex: Smokecloud expires.
{s1} = Smokecloud
{s2, s3} = no match, trigger will not fire
Search Text:
- ^Befuddler's Aura Rk. III expires.
- Your Befuddler's Aura has expired.
- Your Befuddler's Aura has expired.
Search Text:
- ^{s} expires.
- {s} has expired.
- {c}'s aura expired.
Search Text:
- ^{s1} {s2} {s3} expires.
- Your {s1} has expired.
- Your {s1} has expired.
{s1} = Befuddler's Aura
{s2} = Rk.
{s3} = III
ex: Smokecloud expires.
{s1} = Smokecloud
{s2, s3} = no match, trigger will not fire
Re: Removing Rank (Rk. II and Rk. III)
The following should work to capture any aura and strip off the Rk. II and Rk. III as needed:
Search Text: ^(?<name>.+?)( Rk\. III{0,1}){0,1} expired\.
Display Text: Recast ${name}
Search Text: ^(?<name>.+?)( Rk\. III{0,1}){0,1} expired\.
Display Text: Recast ${name}
Re: Removing Rank (Rk. II and Rk. III)
That works (ALMOST) perfectly!!!
I got it working, but it is not your fault...it is EQ's fault! (as usual)
So SOMETIMES they add an additional space between the rank number and the expires. I ended up with this and it APPEARS to be working....
^(?<name>.+?)( Rk\. III{0,1}){0,1}\s*expires\.
And I am using ${name} to call the variable.
Thank you SO much...my OCD cannot thank you enough!!!
-Sped
I got it working, but it is not your fault...it is EQ's fault! (as usual)
So SOMETIMES they add an additional space between the rank number and the expires. I ended up with this and it APPEARS to be working....
^(?<name>.+?)( Rk\. III{0,1}){0,1}\s*expires\.
And I am using ${name} to call the variable.
Thank you SO much...my OCD cannot thank you enough!!!
-Sped