mIRC Home    About    Download    Register    News    Help

Print Thread
#242168 20/06/13 04:25 AM
Joined: Jun 2013
Posts: 14
M
MarkyO Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2013
Posts: 14
Any way to have mIRC recognize specific text to have a mouseover function?

MarkyO #242170 20/06/13 05:07 AM
Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
on hotlink, a change was made is 7.23 that never made it into the help file as far as I can tell

Quote:
Improved hotlink support and changed HOTLINK event to only require
one event definition to work.

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

$hotlink(item) where item can be: event, line, word, char, match

Properties: pos, type

The pos property used with line, word, char and match returns the
position of the item
The type property used with match returns the type of match

/hotlink -md [@menu]

The -m switch displays the popup @menu in the rclick event
The -d switch is used with the -m switch and includes the default
popup menu for a match type

/return enables hotlink over the current word
/halt disables hotlink and allows default processing

Joined: Jun 2013
Posts: 14
M
MarkyO Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2013
Posts: 14
Is there any way to alter text in a channel window?

Similar to rline for @windows ?

MarkyO #242203 23/06/13 08:02 AM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
What i know you need to use echo, and halt the default text.
Code:
on ^*:text:*:#: {
 haltdef
 echo -mt $chan $+(<,$nick,>) $1-
}


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #242206 23/06/13 11:05 PM
Joined: Jun 2013
Posts: 14
M
MarkyO Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2013
Posts: 14
Yah but after that.

Like a /rline version for a channel.

MarkyO #242207 24/06/13 12:01 AM
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
There is no such command, you cannot alter a line after it's been displayed in a channel.
Now, it is possible to clear the buffer of the channel and reload the line you want, so you can display back say from line 1 to the line you want to be edited, then display the edited line and the rest of the buffer, the problem is that with big buffer, this is too slow.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #242208 24/06/13 01:32 AM
Joined: Jun 2013
Posts: 14
M
MarkyO Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jun 2013
Posts: 14
Thought so. Oh well.


Link Copied to Clipboard