mIRC Homepage
Posted By: mel61 Highlight 4 uppercase letters in post? - 31/08/07 01:17 PM
is it possible for mirc to recognize and automatically highlight 4 uppercase letters in a row within others post? for instance ABCD. How would this be done if possible?
Posted By: RoCk Re: Highlight 4 uppercase letters in post? - 31/08/07 01:24 PM
Type /help highlight

Type /abook and go to the highlight tab.
Posted By: Horstl Re: Highlight 4 uppercase letters in post? - 31/08/07 08:00 PM
Tested a minute:
/[A-Z]{4}/ (regex checked, case sensitive unchecked)
- It's highlighting if there are 4 upper letters in text, but it's checking the whole line, not "per token/word". What am I missing? smile
Posted By: deegee Re: Highlight 4 uppercase letters in post? - 31/08/07 10:27 PM
Originally Posted By: Horstl
Tested a minute:
/[A-Z]{4}/ (regex checked, case sensitive unchecked)
- It's highlighting if there are 4 upper letters in text, but it's checking the whole line, not "per token/word". What am I missing? smile


If you DO want it to be case-sensitive, check the case-sensitive box wink
Posted By: Horstl Re: Highlight 4 uppercase letters in post? - 31/08/07 10:30 PM
arf! stupid $me smile
ty
Posted By: mel61 Re: Highlight 4 uppercase letters in post? - 19/09/07 10:38 PM
ugg where do I type the command exactly, scripts editor? etc Im not good at this at all
Posted By: RoCk Re: Highlight 4 uppercase letters in post? - 19/09/07 10:41 PM
alt+b in mirc
Posted By: mel61 Re: Highlight 4 uppercase letters in post? - 20/09/07 12:58 PM
so far no luck not sure what I am doing wrong. I can click on options then hilighting enter a nick and the line hilights as it should, but no luck with the 4 uppercase letter thus far. Just doesnt seem to work and no idea what Im doing wrong.
Posted By: deegee Re: Highlight 4 uppercase letters in post? - 20/09/07 01:11 PM
Originally Posted By: mel61
... I can click on options then hilighting ...


I'd say you're using an older version of mIRC. Highlight was moved from Options to the address book in v6.30 and regex support was added in the same version.
Posted By: RoCk Re: Highlight 4 uppercase letters in post? - 20/09/07 01:13 PM
Well I guess I'm not understanding what it is that you want. Are you saying you want the highlight to be case sensitive? As in, ABCD would be highlighted but abcd would not? If this is the case, then select the 'Case sensitive' box in the highlight dialog, otherwise please clarify.
© mIRC Discussion Forums