mIRC Home    About    Download    Register    News    Help

Print Thread
Complete attributes of $highlight() #195990 07/03/08 03:19 PM
Joined: Nov 2004
Posts: 22
G
gencha Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Nov 2004
Posts: 22
Attributes like "regex" and "case-sensitive" should be retrievable with the $highlight() identifier.
So should the rest of the information that belongs to each highlight item.

Also "nicks" seems to signal that either "both" or "Nickname" is selected in the "Match on:" dropdown. But which one of both it is, is unclear. That feels inconsistent somehow.

Re: Complete attributes of $highlight() [Re: gencha] #195995 07/03/08 04:29 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Quote:

Attributes like "regex" and "case-sensitive" should be retrievable with the $highlight() identifier.
So should the rest of the information that belongs to each highlight item.


They should be and are retrievable just not documented.

$highlight(N).regex
$highlight(N).cs

Re: Complete attributes of $highlight() [Re: SladeKraven] #195998 07/03/08 05:09 PM
Joined: Nov 2004
Posts: 22
G
gencha Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Nov 2004
Posts: 22
Ah, good to know. Then I'd still like them to be added to the documentation wink