Project

General

Profile

$hotlink » History » Version 3

Per Amundsen, 01/04/2017 10:07 PM

1 1 Per Amundsen
_Added in 1.9.7_
2
3
*$hotlink(type)*
4
5
Returns information about a match in a [[on HOTLINK]] event.
6
7
_See also [[$hotline]], [[$hotlinepos]]._
8
9
*Parameters*
10
11 3 Per Amundsen
event - Returns sclick,rclick,dclick,uclick,mclick or mouse depending on which mouse button was pressed or mouse movement.
12 1 Per Amundsen
line - Returns the full line matched.
13
word - Returns the word matched.
14
char - Returns the character matched.
15
match - Returns the matched text.
16
17
18
*Properties*
19
20
.pos - Returns the line/word/char/match position in the matched line.
21
22
*Example*
23
24
<pre>
25
on *:HOTLINK:*:*:echo -ag Matched line $hotlink(line) at $hotlink(line).pos, word $hotlink(word) at pos $hotlink(word).pos, char $hotlink(char) at $hotlink(char).pos
26
</pre>