From WikiChip
Difference between revisions of "mirc/identifiers/$hotline"
< mirc‎ | identifiers

m
 
Line 1: Line 1:
{{mirc title|$hotline Identifier}}The '''$hotline''' identifier is used to extract the entire line of text triggered during [[On hotlink - mIRC|ON HOTLINK]] event.
+
{{mirc title|$hotline Identifier}}{{Deprecated feature|new={{mIRC|$hotlink|$hotlink()}}}}The '''$hotline''' identifier returns the entire line of text that matched for an {{mIRC|on hotlink}} event.
  
  
Line 20: Line 20:
  
 
== See Also ==
 
== See Also ==
* [[On hotlink - mIRC|ON HOTLINK]]
+
* {{mIRC|on hotlink}}
 
* {{mIRC|$hotlinepos}}
 
* {{mIRC|$hotlinepos}}
 +
* {{mIRC|$hotlink|$hotlink()}}
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
 
[[Category:mIRC identifiers|hotline]]
 
[[Category:mIRC identifiers|hotline]]

Latest revision as of 20:05, 26 April 2019

Note: This feature has essentially been replaced by $hotlink().The $hotline identifier returns the entire line of text that matched for an on hotlink event.


Synopsis[edit]

$hotline

Parameters[edit]

None

Example[edit]

The below example will trigger when the mouse double-clicks on the word hoverme, and echo the hotlink word and the entire line to the active window:

ON ^*:HOTLINK:*hoverme*:*:{
  if ($1 == hoverme) return
  halt
}
ON *:HOTLINK:*hoverme*:*:echo -a Hotlink: $1 - Hotlink line: $hotline

Compatibility[edit]

Added: mIRC v5.61
Added on: 23 Sep 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

[Expand]
v · d · e mIRC identifier list