Project

General

Profile

On HOTLINK » History » Version 1

Per Amundsen, 11/18/2015 09:36 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*<notextile>on <level>:HOTLINK:<matchtext>:<*|#|?|=|!|@>:<commands></notextile>*
4
5
Triggers when you move your mouse over a specific word in a line of text in a window.
6
7
_See also [[/hotlink]], [[$hotlink]], [[$hotline]], [[$hotlinepos]]._
8
9
*Parameters*
10
11
<level> - The level for the event to trigger.
12
<matchtext> - The [[Matchtext]] to listen to.
13
<*|#|?|=|!|@> - The [[Matchtarget]] to listen to.
14
<commands> - The commands to be performed when the event listener's criteria is met.
15
16
*Example*
17
18
<pre>
19
on ^*:HOTLINK:*help*:#:{
20
  if ($1 == helpme) return
21
    halt
22
}
23
24
on *:HOTLINK:*:*:echo clicked word $1 in line $hotline $hotlinepos
25
</pre>