Gaunticles Posted September 6, 2016 Report Share Posted September 6, 2016 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 Link to comment Share on other sites More sharing options...
hotspring monkey Posted September 6, 2016 Report Share Posted September 6, 2016 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 More sharing options...
Gaunticles Posted September 6, 2016 Author Report Share Posted September 6, 2016 Still not getting it so I copied screen shot. Can you tell me what I'm missing? Link to comment Share on other sites More sharing options...
Magick Posted September 6, 2016 Report Share Posted September 6, 2016 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 More sharing options...
hotspring monkey Posted September 6, 2016 Report Share Posted September 6, 2016 Edit the trigger: -box to: \bYou tense up for a moment\, but relax again\b and it works. Just tested on my client Link to comment Share on other sites More sharing options...
Gaunticles Posted September 6, 2016 Author Report Share Posted September 6, 2016 thanks for all the help Link to comment Share on other sites More sharing options...
Zavero Posted September 7, 2016 Report Share Posted September 7, 2016 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? Link to comment Share on other sites More sharing options...
Gaunticles Posted September 7, 2016 Author Report Share Posted September 7, 2016 Well for whatever reason it wont work for me include a "." Link to comment Share on other sites More sharing options...
hotspring monkey Posted September 7, 2016 Report Share Posted September 7, 2016 It's because "." is a sort of variable ... and its just easier to leave it out. Link to comment Share on other sites More sharing options...
Zavero Posted September 7, 2016 Report Share Posted September 7, 2016 Yes, however if you don't click the expand variables button it works just fine. I'll post a screen shot. Link to comment Share on other sites More sharing options...
Zavero Posted September 7, 2016 Report Share Posted September 7, 2016 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.