Jump to content

mushclient how to highlight


Gaunticles

Recommended Posts

you put "\b" in front and after what you want to highlight.. works too. 

As in, \bYou fail to blind a\b,
and check ignore_case, keep_evaluating on from the trigger menu under said highlight.

 

<triggers>
  <trigger
   custom_colour="9"
   enabled="y"
   group="Highlighted Words"
   ignore_case="y"
   keep_evaluating="y"
   match="\bYou are allowed to leave the realms\b"
   regexp="y"
   repeat="y"
   sequence="90"
   other_text_colour="silver"
  >
  </trigger>
</triggers>
 

2nd example

<triggers>
  <trigger
   custom_colour="7"
   enabled="y"
   group="Highlighted Words"
   ignore_case="y"
   keep_evaluating="y"
   match="\bYou feel unclean\b"
   regexp="y"
   repeat="y"
   sequence="90"
   other_text_colour="silver"
  >
  </trigger>
</triggers>
 

Link to comment
Share on other sites

Ah, Cmud.  You make things easier, especially for idiots like me who can't code.

#TRIGGER {You fail to blind a *} {#COLOR red}
You fail to blind a martian.

#TRIGGER {You fail to blind a *} {#CW red}
You fail to blind a martian.

#TRIGGER {You fail to blind a (*)} {#PCOL red %x1}
You fail to blind a martian.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...