mIRC Home    About    Download    Register    News    Help

Print Thread
#7147 18/01/03 05:29 AM
Joined: Jan 2003
Posts: 20
H
hatch Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Jan 2003
Posts: 20
Hi Board!

How can I manage to put the Nickname of a user in my channel editbox when I click on it in the channel window?
How can I access it in general?

Tanks for your help,
--hatch


__________________
"Who cares. Out of sight, out of mind."
#7148 18/01/03 07:04 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
I have made a basic version with on HOTLINK, It causes a problem, however. When you rightclick a nickname without the script it shows the nicklist popup, but with the script it doesn't frown

Here is the code I came up with:
on ^*:HOTLINK:*:#:{
if ( $remove($1,<,>) !ison # ) {
halt
}
}
on *:HOTLINK:*:#:{
if ( $remove($1,<,>) ison # ) {
editbox # $editbox(#) $ifmatch
}
}

Note: If you decide to use it you will need to replace the text in blue with how your mIRC shows channel messages (I used <,> because by default mIRC shows messages as <nick>). Also you have to double-click rather than just click.

I hope someone can come up with a better version than this, be good to know how it's done, if it can be smile


Link Copied to Clipboard