I would have thought this would be trivial, but I must be stupid. read the regex tutorials, still can't figure it out....
prompt looks like :
[221/221hp 110/110m 101/101v (8605)]>
just need to pop a trigger when hp is less than 100
Am I just stupid or is this harder than it sounds like it should be?
regex tomatch prompt when HP<100?
Re: regex tomatch prompt when HP<100?
Personally I'd regex to get the current hp then use lua to test if it's lower than 100.
Re: regex tomatch prompt when HP<100?
That'll match the prompt. You can capture the health and check if it's less than 100 with: