![]() |
make gina regex case-insensitive
So I have a basic root timer along the lines of:
Search: "{s} feet adhered to the ground" Timer name: "{s} Fettered" Using the simple {s} matching works great for restarting it only on same mob, notifying of timer running out etc. However, I run into issues when I try to get it to end early. Specifically, I tried to add an end-early check with: "You have slain {s}" But this doesn't work since the root landed notification capitalizes the first letter of the mob's name, while the slain message does not. (ex: "Greater plaguebone versus greater plaguebone"). Is there an easy way to convert whatever string {s} picks up to be all lower case? |
Pretty sure case sensitivity isn't your issue - all string matching with GINA should be ignoring case by default. Your likely culprit is a string mismatch: "{s} feet adhere to the ground" would return "Greater plaguebone's" as your string, so you want to change your search string to "{s}'s feet adhere to the ground".
Also, using the kill message as an end early string will only be useful in some situations, because let's say you're fighting two greater plaguebones - whichever you kill first will end your root timer regardless of whether it's the right one. I just let my root/snare/etc. timers run their course with no end early strings, and make separate triggers to give me a text/audio alert when the spell worn off message occurs. So in your case I'd make a separate alert trigger for "Your Fetter spell has worn off". |
Ah that was it, thanks - totally spaced on the 's and it's good to know that they are case insensitive by default.
|
| All times are GMT -4. The time now is 11:35 PM. |
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.