reg ex in end early text
Posted: Fri May 11, 2012 7:36 pm
Heya,
I use timer triggers to manage dots and dot-like spells. For example to have an eye on a rooted mob while fighting another.
Trigger Name: Greater Immobilize
Search Text: {S1} adheres to the ground.
Use Regular Expressions: On
Timer Name: {S1} - Greater Immobliize
End early text: Your Greater Immobilize spell has worn off of {S1}.
It works great. Rooting different mobs (with different names) will create several timer bars, each one showing the correct mob. And if a root breaks due to the {S1} in the early end message the correct bar is removed. Wohoo! But ... well not every root runs out. The timer becomes useless as soon as the mob was dotted to death and the early end message won't show up at all.
As far as I understood the regular expressions are needed as soon as I use variables like {S1} or {N1}. I used {S1} in the early end message and was convinced I could use a regular expression in that message too.
New End early text: (Your Greater Immobilize spell has worn off of {S1}.|You have slain {S1}!)
This did not work. I tried that expression as trigger to prove its correct syntax. Conclusion: regular expressions don't work with early end texts.
Have you got any idea how I could end a timer with several possible phrases?
Regards Sachmet
I use timer triggers to manage dots and dot-like spells. For example to have an eye on a rooted mob while fighting another.
Trigger Name: Greater Immobilize
Search Text: {S1} adheres to the ground.
Use Regular Expressions: On
Timer Name: {S1} - Greater Immobliize
End early text: Your Greater Immobilize spell has worn off of {S1}.
It works great. Rooting different mobs (with different names) will create several timer bars, each one showing the correct mob. And if a root breaks due to the {S1} in the early end message the correct bar is removed. Wohoo! But ... well not every root runs out. The timer becomes useless as soon as the mob was dotted to death and the early end message won't show up at all.
As far as I understood the regular expressions are needed as soon as I use variables like {S1} or {N1}. I used {S1} in the early end message and was convinced I could use a regular expression in that message too.
New End early text: (Your Greater Immobilize spell has worn off of {S1}.|You have slain {S1}!)
This did not work. I tried that expression as trigger to prove its correct syntax. Conclusion: regular expressions don't work with early end texts.
Have you got any idea how I could end a timer with several possible phrases?
Regards Sachmet