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

m (Bot: Adding a template (template:mIRC identifier list))
m (Bot: Fixing links)
Line 22: Line 22:
 
== See Also ==
 
== See Also ==
 
* [[On hotlink - mIRC|ON HOTLINK]]
 
* [[On hotlink - mIRC|ON HOTLINK]]
* [[$hotlinepos identifier - mIRC|$hotlinepos]]
+
* {{mIRC|$hotlinepos}}
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
 
[[Category:MIRC identifiers]]
 
[[Category:MIRC identifiers]]

Revision as of 20:55, 5 July 2014

The $hotline identifier is used to extract the entire line of text triggered during ON HOTLINK event.

Synopsis

$hotline

Parameters

None

Example

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

Added: mIRC v5.61

Added On: 23/09/99

See Also

[Expand]
v · d · e mIRC identifier list