I want Nexus to react to two lines but only if they appear one after another. The lines' contents don't matter so to give an example let's say it's something like:
aaa
bbb
How do I match that using regular expressions? aaa$bbb doesn't work, aaa\nbbb and aaa\rbbb don't work either.
0
Answers
Each line from the mud is self-contained. Within that single line is also other info, such as mxp or gmcp packets (which you don't see). Sometimes that single line is super long and your client will break it into multiple lines on the screen, but it's still a single line from the mud. LOOK is a fine example of this.
Assuming you know already for sure it's 2 seperate lines from the mud, then...
Every client I've ever used (which does not include nexus), parses just 1 line at a time with settings at normal. In other clients, there is an option to make a specific trigger a multi-line trigger, in which case you'd use regexp like you've been trying. Nexus might have automatic multi-line detection built into standard triggers but my guess is that it doesn't. Guessing that, I'd look for some sort of option to make the trigger a multi-line trigger.
If it's not there, then my guess is @Tecton hasn't gotten to that yet.
Currently available: Abs, Cnote, Keepalive, Lootpet, Mapmod