mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2018
Posts: 2
W
wfoust Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
W
Joined: Jan 2018
Posts: 2
Hi! When I right-click a channel name inside a channel, the pictured menu pops up. Is there any way I can add popups to that menu?

Thank you


-William
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
Code:
menu channel {
  your popup label:your popup command(s)
}


above is for putting something in a remotes script.

or press alt-p and choose 'channel' from the view menu

Last edited by maroon; 06/01/18 08:06 PM.
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
Code:
on $*:hotlink:/#[^,\s]+/:*:{
  if ($hotlink(event) $hotlink(match).type == rclick channel) {
    hotlink -dm @custom_channel_popups
  }
}
menu @custom_channel_popups {
custom item: echo -a popup!
}
If you want to add a custom popups menu when right clicking channels inside channels only, replace the event definition by
Code:
on $*:hotlink:/#[^,\s]+/:#:{

Last edited by Wims; 06/01/18 08:47 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jan 2018
Posts: 2
W
wfoust Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
W
Joined: Jan 2018
Posts: 2
That was it! Thanks Wims!


-William

Link Copied to Clipboard