menu @test.hotlink {
TestSubmenu
.EchoSomething: echo -as $mouse.x $mouse.y $1-
}
on *:hotlink:*.jpg:*: {
echo -s test hot: $hotlink(match)
hotlink -md @test.hotlink
return
}
Originally Posted By: mIRC v7.23 beta
/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
Code:
menu @test.hotlink {
TestSubmenu
.EchoSomething: echo -as $mouse.x $mouse.y $1-
}
on *:hotlink:*.jpg:*: {
;echo -s test hot: $hotlink(match)
;rclick event
if ($hotlink(event) == rclick) hotlink -md @test.hotlink
return
}