For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.
Also do a "packet debug" of a line you are trying to match on.
Go to the Edit menu, turn on Debug Packets, get the MUD to display the line in question, turn off Debug Packets or it will slow things down, and then copy/paste the packet into a reply.
Then I can simulate what you are doing and work out an answer for you.
.[4z<White>The P 1b 5b 34 7a 3c 57 68 69 74 65 3e 54 68 65 20 50
rofessor of Reco 72 6f 66 65 73 73 6f 72 20 6f 66 20 52 65 63 6f
ndite Architectu 6e 64 69 74 65 20 41 72 63 68 69 74 65 63 74 75
re says in Morpo 72 65 20 73 61 79 73 20 69 6e 20 4d 6f 72 70 6f
rkian: Oh, I do 72 6b 69 61 6e 3a 20 4f 68 2c 20 49 20 64 6f 20
love the summer 6c 6f 76 65 20 74 68 65 20 73 75 6d 6d 65 72 20
weather. You do 77 65 61 74 68 65 72 2e 20 20 59 6f 75 20 64 6f
n't get weather 6e 27 74 20 67 65 74 20 77 65 61 74 68 65 72 20
like this back i 6c 69 6b 65 20 74 68 69 73 20 62 61 63 6b 20 69
n dear old Bonk. 6e 20 64 65 61 72 20 6f 6c 64 20 42 6f 6e 6b 2e
.[3z.[4z<BR> 1b 5b 33 7a 1b 5b 34 7a 3c 42 52 3e
The match itself works for me if I don't specify a colour but as soon as I switch it to match "bold white" it doesn't.
I tested it with just matching "white" (and changing the output of the MUD to send the line in white vs bold white) and that worked. I believe it's just not recognising bold white as bold white.
I want to match on bold white because room tells are in bold white, but you can also receive private tells that sometimes match the same string and I have those coloured differently.
Since you say the line is actually appearing in bold white I'm curious how this is working. Do you have a plugin that interprets those tags?
Assuming you do, I think the problem here is that the MXP tag is switching the RGB codes to FFFFFF but not setting the bold flag (which would be <B> in MXP).
What you can do as a workaround is detect the colour of the first style run, in the trigger, and then choose whether or not to take action. However re-colouring the line is a little trickier, you basically have to omit it and then redraw with the new colours.
If we can find out how the <White> tag is actually working (it doesn't show as bold white for me when I test) then maybe that can be re-implemented in such a way that it converts <White> into the ANSI codes for bold white, and then your trigger should work.
Hmm. Just a thought Nick, but did you use something like an XML/HTML parser to build the MXP implementation? Because its my understanding that these are designed to be semi-sloppy in how they handle errors in code. Basically, the philosophy behind them, even if you don't personally intend this to happen, is, "Display/parse 'something', even if its broken, or wrong, so you at least get something." This is important for html, since it lets you see the content, even if something is broken, instead of just a blank page, and I think the parser for XML was built based on the html parser. So, basically, the parser is seeing "white", and going, "Well... is missing the 'color' keyword, but I know that 'white' is supposed to be a text color, so I should just do that anyway. Even if its wrong, it might also be right, or close enough.", exactly the same way that html would be parsed to do "something", not nothing.
Yeah, I understand. However when I tested his supplied test data it didn't appear in bold white, and the MXP error log showed that it didn't recognise that tag.
I admit I was using a slightly older version of MUSHclient but I don't recall making that sort of change recently. Maybe I did. :)