Project

General

Profile

On HOTLINK » History » Revision 2

Revision 1 (Per Amundsen, 11/18/2015 09:36 AM) → Revision 2/8 (Per Amundsen, 01/14/2017 04:44 PM)

_Added in 1.9.0_ 

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

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

 _See also [[/hotlink]], [[$hotlink]], [[$hotline]], [[$hotlinepos]], [[Scripting_Menus#Mouse-events|Mouse Events]]._ [[$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* 

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

 on *:HOTLINK:*:*:echo clicked word $1 in line $hotline $hotlinepos 
 </pre>