mIRC Home    About    Download    Register    News    Help

Print Thread
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?

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
Type /help highlight

Type /abook and go to the highlight tab.

Last edited by RoCk; 31/08/07 01:27 PM.
Joined: Nov 2006
Posts: 1,559
H
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

Joined: Jun 2006
Posts: 508
D
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

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
arf! stupid $me smile
ty

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

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
alt+b in mirc

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.

Joined: Jun 2006
Posts: 508
D
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.

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
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.


Link Copied to Clipboard