#1
|
|||
|
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?
__________________
Djynni Biqasmalyani - 60 Human Wizard
Mandak Battlebeard - 60 Dwarf Paladin Maeghar Frightreaver - 56 Erudite Cleric Maamdak Battlebeard - 48 Dwarf Rogue Crunkasaurus Rex - 49 Ogre Shaman Mendak - 51 Halfling Druid (Green) <Paradox> RIP | ||
#2
|
|||
|
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". | ||
Last edited by paulgiamatti; 06-09-2018 at 11:16 PM..
|
#3
|
|||
|
Ah that was it, thanks - totally spaced on the 's and it's good to know that they are case insensitive by default.
__________________
Djynni Biqasmalyani - 60 Human Wizard
Mandak Battlebeard - 60 Dwarf Paladin Maeghar Frightreaver - 56 Erudite Cleric Maamdak Battlebeard - 48 Dwarf Rogue Crunkasaurus Rex - 49 Ogre Shaman Mendak - 51 Halfling Druid (Green) <Paradox> RIP | ||
|
|