Added by Mr. BS almost 10 years ago
Sometimes I just want to copy part of an url shared in chat, the problem is that I have enabled the option to open urls by single click, then on release the mouse it will run the browser. This behavior was bothering me for a long time. So here is my workaround.
Using the small code bellow, select part of url you want, so hit <ctrl> key once and immediately move the cursor out of url focus and release the mouse. Done, content is on clipboard now.
on *:KEYUP:*:17: if ($mouse.key & 1) { window -a $qt($active) }
ps: Deprecated script, since version 1.9.6 AdiIRC has this feature built in (ticket #1956).