Project

General

Profile

$hotlink » History » Version 6

Mr. BS, 02/16/2017 04:09 AM

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 5 Per Amundsen
_See also [[$hotline]], [[$hotlinepos]], [[on HOTLINK]], [[/hotlink]]._
8 1 Per Amundsen
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
*Properties*
18
19
.pos - Returns the line/word/char/match position in the matched line.
20 6 Mr. BS
.type - Returns the url/channel/nick/other type in the matched keyword.
21 1 Per Amundsen
22
*Example*
23
24
<pre>
25 6 Mr. BS
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 type $hotlink(match).type
26 1 Per Amundsen
</pre>