mIRC Home    About    Download    Register    News    Help

Print Thread
Highlight 4 uppercase letters in post? #184665 31/08/07 01:17 PM
Joined: Aug 2007
Posts: 3
M
mel61 Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Aug 2007
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?

Re: Highlight 4 uppercase letters in post? [Re: mel61] #184667 31/08/07 01:24 PM
Joined: Dec 2002
Posts: 2,010
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,010
Type /help highlight

Type /abook and go to the highlight tab.

Last edited by RoCk; 31/08/07 01:27 PM.
Re: Highlight 4 uppercase letters in post? [Re: mel61] #184721 31/08/07 08:00 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
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

Re: Highlight 4 uppercase letters in post? [Re: Horstl] #184730 31/08/07 10:27 PM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
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

Re: Highlight 4 uppercase letters in post? [Re: deegee] #184731 31/08/07 10:30 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
arf! stupid $me smile
ty

Re: Highlight 4 uppercase letters in post? [Re: Horstl] #186249 19/09/07 10:38 PM
Joined: Aug 2007
Posts: 3
M
mel61 Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Aug 2007
Posts: 3
ugg where do I type the command exactly, scripts editor? etc Im not good at this at all

Re: Highlight 4 uppercase letters in post? [Re: mel61] #186250 19/09/07 10:41 PM
Joined: Dec 2002
Posts: 2,010
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,010
alt+b in mirc

Re: Highlight 4 uppercase letters in post? [Re: RoCk] #186280 20/09/07 12:58 PM
Joined: Aug 2007
Posts: 3
M
mel61 Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Aug 2007
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.

Re: Highlight 4 uppercase letters in post? [Re: mel61] #186282 20/09/07 01:11 PM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
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.

Re: Highlight 4 uppercase letters in post? [Re: mel61] #186283 20/09/07 01:13 PM
Joined: Dec 2002
Posts: 2,010
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,010
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.