Ok, I'm very new to multiline triggers, and even more so to regular expressions, so I could use a little help to be pushed into the right direction, so to speak.
What I am trying to do is have a box picking trigger, which matches on multiple lines, and omits it from output (as box picking is very spammy).
Here is what I am trying to match.
<5090hp4060m LVL53>
A sturdy iron-bound strongbox doesn't appear to be trapped.
Now, that may seem easy enough, but the 5090hp constantly changes, so it needs to be a variable. same as 4060 (but not the "m") and 53. So really, all numbers change.
The other thing that constantly changes is the "sturdy iron-bound strongbox", but it will always be 3 words. Not sure about the "-" though.
I did this as 2 triggers that omitted, originally, but then I realized that the prompt, which is anything from "<" to ">" I always need when not picking so...
Yeah, like I said, any help to push me in the right direction would be awesome. There's a whole lot more of these type of triggers, which I will probably eventually put in VBscript, but...for now, the help I receive will unlock the way to do the rest of them.
Thanks,
Pesmare
What I am trying to do is have a box picking trigger, which matches on multiple lines, and omits it from output (as box picking is very spammy).
Here is what I am trying to match.
<5090hp4060m LVL53>
A sturdy iron-bound strongbox doesn't appear to be trapped.
Now, that may seem easy enough, but the 5090hp constantly changes, so it needs to be a variable. same as 4060 (but not the "m") and 53. So really, all numbers change.
The other thing that constantly changes is the "sturdy iron-bound strongbox", but it will always be 3 words. Not sure about the "-" though.
I did this as 2 triggers that omitted, originally, but then I realized that the prompt, which is anything from "<" to ">" I always need when not picking so...
Yeah, like I said, any help to push me in the right direction would be awesome. There's a whole lot more of these type of triggers, which I will probably eventually put in VBscript, but...for now, the help I receive will unlock the way to do the rest of them.
Thanks,
Pesmare