Project

General

Profile

Actions

On HOTLINK » History » Revision 1

Revision 1/8 | Next »
Per Amundsen, 11/18/2015 09:36 AM


Added in 1.9.0

on <level>:HOTLINK:<matchtext>:<*|#|?|=|!|@>:<commands>

Triggers when you move your mouse over a specific word in a line of text in a window.

See also /hotlink, $hotlink, $hotline, $hotlinepos.

Parameters

<level> - The level for the event to trigger.
<matchtext> - The Matchtext to listen to.
<*|#|?|=|!|@> - The Matchtarget to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

on ^*:HOTLINK:*help*:#:{
  if ($1 == helpme) return
    halt
}

on *:HOTLINK:*:*:echo clicked word $1 in line $hotline $hotlinepos

Updated by Per Amundsen almost 9 years ago · 1 revisions

Also available in: PDF HTML TXT