Project

General

Profile

Actions

On HOTLINK » History » Revision 3

« Previous | Revision 3/8 (diff) | Next »
Per Amundsen, 02/24/2017 09:39 PM


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, Mouse Events.

Parameters

<level> - The User Access 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 over 7 years ago · 3 revisions

Also available in: PDF HTML TXT