mIRC Home    About    Download    Register    News    Help

Topic Options
#184665 - 31/08/07 02:17 PM Highlight 4 uppercase letters in post?
mel61 Offline
Self-satisified door

Registered: 31/08/07
Posts: 3
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?

Top
#184667 - 31/08/07 02:24 PM Re: Highlight 4 uppercase letters in post? [Re: mel61]
RoCk Offline
Hoopy frood

Registered: 16/12/02
Posts: 2009
Type /help highlight

Type /abook and go to the highlight tab.


Edited by RoCk (31/08/07 02:27 PM)

Top
#184721 - 31/08/07 09:00 PM Re: Highlight 4 uppercase letters in post? [Re: mel61]
Horstl Offline
Hoopy frood

Registered: 03/11/06
Posts: 1559
Loc: Germany
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

Top
#184730 - 31/08/07 11:27 PM Re: Highlight 4 uppercase letters in post? [Re: Horstl]
deegee Offline
Fjord artisan

Registered: 16/06/06
Posts: 508
Loc: Storage
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

Top
#184731 - 31/08/07 11:30 PM Re: Highlight 4 uppercase letters in post? [Re: deegee]
Horstl Offline
Hoopy frood

Registered: 03/11/06
Posts: 1559
Loc: Germany
arf! stupid $me smile
ty

Top
#186249 - 19/09/07 11:38 PM Re: Highlight 4 uppercase letters in post? [Re: Horstl]
mel61 Offline
Self-satisified door

Registered: 31/08/07
Posts: 3
ugg where do I type the command exactly, scripts editor? etc Im not good at this at all

Top
#186250 - 19/09/07 11:41 PM Re: Highlight 4 uppercase letters in post? [Re: mel61]
RoCk Offline
Hoopy frood

Registered: 16/12/02
Posts: 2009
alt+b in mirc

Top
#186280 - 20/09/07 01:58 PM Re: Highlight 4 uppercase letters in post? [Re: RoCk]
mel61 Offline
Self-satisified door

Registered: 31/08/07
Posts: 3
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.

Top
#186282 - 20/09/07 02:11 PM Re: Highlight 4 uppercase letters in post? [Re: mel61]
deegee Offline
Fjord artisan

Registered: 16/06/06
Posts: 508
Loc: Storage
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.

Top
#186283 - 20/09/07 02:13 PM Re: Highlight 4 uppercase letters in post? [Re: mel61]
RoCk Offline
Hoopy frood

Registered: 16/12/02
Posts: 2009
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.

Top