summaryrefslogtreecommitdiffstats
path: root/docs/help/hilight
blob: 884141689dc152c34a2ed48f4918e09ccf18e7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%9Syntax:%9

HILIGHT %|[-nick | -word | -line] [-mask | -full | -matchcase | -regexp] [-color <color>] [-actcolor <color>] [-level <level>] [-network <network>] [-channels <channels>] <text>

%9Parameters:%9

    -nick:        Highlights only the nickname and not the whole line.
    -word:        Highlights only the word and not the whole line.
    -line:        Highlights the whole line.
    -mask:        Highlights all messages from users matching the mask.
    -full:        The text must match the full word.
    -matchcase:   The text must match case.
    -regexp:      The text is a regular expression.
    -color:       The color to display the highlight in.
    -actcolor:    The color to mark the highlight activity in the statusbar.
    -level:       Matches only on the given message level.
    -network:     Matches only on the given network.
    -channels:    Matches only on the given channels.
    -priority:    The priority to use when multiple highlights match.

    The text to highlight on; if no argument is given, the list of highlights
    will be displayed.

%9Description:%9

    Highlights the keyword or pattern to make sure that you don't miss any
    important messages.

%9Examples:%9

    /HILIGHT
    /HILIGHT mike
    /HILIGHT -regexp mi+ke+
    /HILIGHT -mask -color %%G bob!*@*.irssi.org
    /HILIGHT -full -color %%G -actcolor %%Y redbull

%9References:%9

    https://github.com/irssi/irssi/blob/master/docs/formats.txt

%9See also:%9 DEHILIGHT, LEVELS