$hotlink » History » Revision 1
Revision 1/8
| Next »
Per Amundsen, 12/14/2015 05:41 PM
Added in 1.9.7
$hotlink(type)
Returns information about a match in a on HOTLINK event.
See also $hotline, $hotlinepos.
Parameters
event - Returns sclick or rclick depending on which mouse button was pressed.
line - Returns the full line matched.
word - Returns the word matched.
char - Returns the character matched.
match - Returns the matched text.
Properties
.pos - Returns the line/word/char/match position in the matched line.
Example
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
Updated by Per Amundsen almost 9 years ago · 1 revisions