mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 35
O
Ook Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Sep 2003
Posts: 35
Code:
menu @hotlink.menu {
  Test Menu
  .test Item: echo -s test
}
on *:hotlink:*http://*:*: {
  if ($hotlink(event) == rclick) hotlink -md @hotlink.menu
}
on *:hotlink:*test*:*: {
  if ($hotlink(event) == rclick) hotlink -md @hotlink.menu
}


Use this code & echo the line

Code:
test test test http://boss.com/file.png


Then right click over the word test, no menu appears.
right click over the url & only the default menu appears.

The custom menu is never shown.
The above code works fine in mIRC v7.25 but not in v7.27

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
This only explains the differing behaviour between your events: you have a ":" in your http matchtext, which causes problems with the event syntax. You probably want:

Code:
on *:hotlink:$(*http $+ $chr(58) $+ //*):*: { ...


It doesn't explain why /hotlink doesn't work.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2002
Posts: 5,412
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,412
Thanks for the bug report. It appears that one of the hotlink bug fixes in v7.26 has caused the hotlink menu feature to no longer work. This issue has been fixed for the next version.


Link Copied to Clipboard