Am using MUSHclient v3.73.
There are certain lines which I trigger completely, and sometimes colour.
Using subsequent triggers I would like to colour certain phrases, and perform further actions from some of these lines.
I use the match colours to ensure they do not trigger when someone just repeats some output over a chat channel or the particular phrase just happens to turn up elsewhere.
These events are the only times I receive output in this particular colour (
The problem is, the subsequent triggers do not fire (even with appropriate
Example,
This line arrives in bold black,
and this trigger matches perfectly.
Now when using subsequent triggers through the
This triggers and re-colours the match correctly,
But, when the match colours are changed to meet the original output (the same as the previous whole line trigger), it does not fire.
Also, I have noticed that the
I thought, when 'grey ticked' it would match either, ticked would be only, and unticked would be never. But on my screen for the two triggers with specific match colours, the bold box is ticked, while the inverse and italic are not. But when looking at the copied trigger code, they appear to be active?
For now, unspecifying the colours and making use of
And how about taking suggestion #92 http://www.gammon.com.au/scripts/showbug.php?bugid=92&productid=0&searchfor= a step further and allowing to match on any MXP colour? Much like the 'Other...' option under 'Change colour and style'.
There are certain lines which I trigger completely, and sometimes colour.
Using subsequent triggers I would like to colour certain phrases, and perform further actions from some of these lines.
I use the match colours to ensure they do not trigger when someone just repeats some output over a chat channel or the particular phrase just happens to turn up elsewhere.
These events are the only times I receive output in this particular colour (
bold black). This is set up mud-side.The problem is, the subsequent triggers do not fire (even with appropriate
keep evaluating flags set) unless the match colour and styles are non-specific (i.e. [any]).Example,
The gullible pickpocket thrusts at you with his dagger but you dodge out of the way.This line arrives in bold black,
<triggers>
<trigger
back_colour="8"
bold="y"
custom_colour="5"
enabled="y"
keep_evaluating="y"
match="^The gullible pickpocket thrusts at you with his dagger but you dodge out of the way\.$"
match_back_colour="y"
match_bold="y"
match_inverse="y"
match_italic="y"
match_text_colour="y"
regexp="y"
sequence="2"
text_colour="8"
>
</trigger>
</triggers>and this trigger matches perfectly.
Now when using subsequent triggers through the
keep evaluating flag, they don't seem to know about the style of the original line.This triggers and re-colours the match correctly,
<triggers>
<trigger
custom_colour="8"
enabled="y"
match="but you dodge"
regexp="y"
sequence="6"
>
</trigger>
</triggers>But, when the match colours are changed to meet the original output (the same as the previous whole line trigger), it does not fire.
<triggers>
<trigger
back_colour="8"
bold="y"
custom_colour="8"
enabled="y"
match="but you dodge"
match_back_colour="y"
match_bold="y"
match_inverse="y"
match_italic="y"
match_text_colour="y"
regexp="y"
sequence="6"
text_colour="8"
>
</trigger>
</triggers>Also, I have noticed that the
match_/[bold|inverse|italic/]="y" appears whenever the check box is ticked or unticked, but not when 'grey ticked'. I thought, when 'grey ticked' it would match either, ticked would be only, and unticked would be never. But on my screen for the two triggers with specific match colours, the bold box is ticked, while the inverse and italic are not. But when looking at the copied trigger code, they appear to be active?
For now, unspecifying the colours and making use of
EnableTrigger would work...And how about taking suggestion #92 http://www.gammon.com.au/scripts/showbug.php?bugid=92&productid=0&searchfor= a step further and allowing to match on any MXP colour? Much like the 'Other...' option under 'Change colour and style'.