summaryrefslogtreecommitdiff
path: root/docs/help/in/hilight.in
blob: 0b57fd2256e50acdf6bb2c5f8be81af4ecd98c58 (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

@SYNTAX:hilight@

   -mask: Match only for nick, <text> is a nick mask
   -regexp: <text> is a regular expression
   -word: <text> must match to full words
   -nick: Hilight only the nick, not the whole line (default)
   -nonick: Hilight the whole line with the hilight color.
   -color: Print the message with <color>, it can be either
           numeric MIRC color (see docs/formats.txt) or
           a named english color
   -level: Match only for <level> messages, default is
           publics,msgs,notices,actions
   -channels: Match only in <channels>

Examples:

Hilight lines that have "mynick" word:
  /HILIGHT mynick

Hilight lines that were written by nicks from *.fi
  /HILIGHT -mask *!*@*.fi

For regular expressions, see `man 7 regex`.

See also: DEHILIGHT, SET HILIGHT