File: hilight

package info (click to toggle)
irssi 0.8.12-7
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 8,152 kB
  • ctags: 5,937
  • sloc: ansic: 54,466; sh: 8,869; perl: 2,460; makefile: 1,034
file content (29 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download | duplicates (4)
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

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

   -mask: Match only for nick, <text> is a nick mask
   -regexp: <text> is a regular expression
   -full: <text> must match to full words
   -nick: Hilight only the nick, not the whole line (default)
   -word: Hilight only the word (default with non-public messages)
   -line: Hilight the whole line with the hilight color.
   -color: Print the message with <color>. color is in %%code format
           (see docs/formats.txt)
   -actcolor: Color to show in statusbar activity, or don't change if %%n.
   -level: Match only for <level> messages, default is
           publics,msgs,notices,actions
   -channels: Match only in <channels>
   -priority: Priority to use when multiple hilights match. Default is 0.

Examples:

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

Hilight lines that were written by nicks from *.fi with bold green
  /HILIGHT -color %%G -mask *!*@*.fi

For regular expressions, see `man 7 regex`.

See also: DEHILIGHT, SET HILIGHT