mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2006
Posts: 98
L
Lloyd_B Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: May 2006
Posts: 98
I hope this isn't a repeat suggestion. I did check the other topics before posting this.

I'd like to see the ability to customize the menu that comes up when the mouse pointer is on a displayed channel name and the right mouse button clicked. Currently it shows just three options:

Join Channel
List Users
Show Topic

I'd like to be able to change and add to that list of options. I haven't found any option for doing that currently.


Lloyd
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
are u talking about when u right click on an active channel? if so, look into /help menus

if you're talking about like someone says a channel name, u should be able to edit that menu with /help on hotkey

unless u were talking about the switchbar button inwhich case, there's more than just those 3 options :\

Last edited by FroggieDaFrog; 23/04/10 06:28 AM.

I am SReject
My Stuff
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
On hotkey doesn't let you change the menu - just catch the right click.

You would need to script your own menus to replace that menu in on hotkey.

Joined: May 2006
Posts: 98
L
Lloyd_B Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: May 2006
Posts: 98
I'm talking about when a channel name is displayed in like the 'whois' data or from other data in the Status window. When someone uses the mouse pointer to hover over a channel name and then right click on that channel. The only options are the three I mentioned.

I guess I have to dig through the help files more and learn a lot more.



Lloyd
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
It would be nicer to allow to trigger a popup on rightclicking a HOTLINK event as a more general case.

Code:
on ^*:HOTLINK:#*:*:return
on ^*:HOTLINK:#*:*:if ($mouse.key & 16) showpopup MYPOPUPNAME

menu MYPOPUPNAME {
  ...
}


It would require a new command /showpopup to trigger a context menu and custom menu definition names outside of channel,nicklist,etc. (though showpopup could theoretically take a .ini file or some other method). Other than that, it should allow people to define custom popups for all hotlinks, not just channels.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard