Project

General

Profile

$highlight » History » Version 2

Per Amundsen, 03/18/2014 06:26 AM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*$highlight*
4
5
_Added in 1.9.3_
6
7
*$highlight(N/text)*
8
9
Returns the Nth line in the highlight options, or if text is specified, returns the properties for the highlight line that matches text.
10
11
*Parameters*
12
13
N - The Nth highlight from the highlight options, if N = 0, total number of highlight items is returned.
14
text - A text to match with a highlight.
15
16
*Properties*
17
18
.text - Highlight match text. 
19
.color - Line color.
20
.sound - "beep" or file name. 
21
.flash - Flash times or 0 if flash is disabled.
22
.tip - Tip times or 0 if tip is disabled.
23
.message - Tip message.
24
.nicks - [[$true]] if match on nickname is enabled, else [[$false]].
25
.regex - [[$true]] if regex is enabled, else [[$false]].
26 2 Per Amundsen
.cs - [[$true]] case sensitive is enabled, else [[$false]].