From WikiChip
mirc/identifiers/$hotlinepos
< mirc‎ | identifiers
Revision as of 02:08, 25 June 2014 by Zmodem (talk | contribs) (Created $hotlinepos identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The $hotlinepos identifier is used to find the line position, and hotlink text location, during ON HOTLINK event.

Synopsis

$hotlinepos

Parameters

None

Example

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

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

Compatibility

Added: mIRC v6.15

Added On: 03/06/2004

See Also