mIRC Home    About    Download    Register    News    Help

Print Thread
#100985 19/10/04 02:49 AM
Joined: Mar 2003
Posts: 18
M
Maveric Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2003
Posts: 18
Anybody know of a way to make things "clickable"? It would be nice to be able to have certain things like CTCP triggers, and commands "clickable" like URLs are in mIRC. Odds are there isn't a way, but I figured I would ask.

#100986 19/10/04 05:19 AM
Joined: Nov 2003
Posts: 228
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
From mIRC.hlp

on HOTLINK

The on HOTLINK event triggers when move your mouse over a specific word in a line of text in a window.
Format: on <level>:HOTLINK:<matchtext>:<*#?=!@>:<commands>

Examples

This event works somewhat differently from other events, and is best explained with an example:
Code:
on ^1:HOTLINK:*help*:#:{
  if ($1 == helpme) return
  halt
}

on 1:HOTLINK:*:*:echo clicked word $1 in line $hotline $hotlinepos


Link Copied to Clipboard