forums wiki races classes cabals religions world history immortals all pages bugs items helps changes calendar map login donate play now

mushclient how to highlight

Does anybody use mushclient and know how to highlight? I'm trying to highlight certain strings like "You fail to blind a"

I even followed the creators info I'm just not getting it. http://www.gammon.com.au/forum/?id=8085

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.

 

  <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"

  >

 

 

2nd example

  <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"

  >

 

Edited

Still not getting it so I copied screen shot. Can you tell me what I'm missing?

/monthly_2016_09/highlights.png.a700b6d1d44af634488aef79d792e3d6.png

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.

Edit the trigger: -box to: \bYou tense up for a moment, but relax again\b and it works. Just tested on my client

thanks for all the help

All you really need to do is copy what you want highlighted, paste it into the trigger portion,then change the color you want it highlighted in and it will work fine. Am I missing something with all the \ in there?

Edited

Well for whatever reason it wont work for me include a "."

It's because "." is a sort of variable ... and its just easier to leave it out.

Yes, however if you don't click the expand variables button it works just fine. I'll post a screen shot.

Here we go. Although I will say it appears that you may be using an older version than I am. However, it has always worked for me this way.

/monthly_2016_09/trigger1.JPG.a6f694e8c020595a7776944c928fbf2a.JPG

/monthly_2016_09/trigger2.JPG.741ae340a12bb0db5a9991089a16c6e3.JPG

Edited