on *:hotlink:test:*:{ if ($hotlink(event) == rclick) { hotlink -m @menu } } menu @menu { Test:echo test }