mIRC Home    About    Download    Register    News    Help

Print Thread
#89406 07/07/04 12:12 AM
Joined: Nov 2003
Posts: 35
R
Riamus Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Nov 2003
Posts: 35
Is there a way to set up a script to manually place a url in the url catcher "box" when you right click on a link rather than just either always catching the link or never catching it? I'm not sure how the links are stored, so not sure how to handle something like that.

#89407 07/07/04 12:49 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
I don't think it's possble to catch right clicks, but this script will add urls when you hover the mouse cursor over them and Shift is pressed:
  • On ^*:hotlink:*//*.*:*: if $mouse.key & 4 { url -i ? $1 }
    On ^*:hotlink:www.*:*: if $mouse.key & 4 { url -i ? $1 }
If you want to react on Ctrl instead, change 4 to 2.

#89408 07/07/04 01:01 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Shouldn't that be $mouse.key & 2 for Ctrl?


New username: hixxy
#89409 07/07/04 01:10 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Thanks for the correction laugh

#89410 08/07/04 02:27 PM
Joined: Nov 2003
Posts: 35
R
Riamus Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Nov 2003
Posts: 35
Thanks. smile


Link Copied to Clipboard