mIRC Homepage
Posted By: Bullseye channel menu - 22/11/06 08:51 PM
Simple question i think.

Is there a way to open a dialog by right clicking in a channel and not showing the normal channel menu.
Posted By: Bob57 Re: channel menu - 22/11/06 11:31 PM
Code:
menu channel {
  $iif($Log.Caller, DiaCaller) : { }
}  

Log.Caller is an alias of mine that starts a dialog, it does not return anything, which defaults to false, so the menu item isn’t displayed in the menu, but the dialog is opened as soon as the channel menu popsup. If there is nothing else in your channel menu mirc popsup the status window menu, the menu will be on top of your dialog. I don’t know how to stop that, but if you should be able to have your dialog caller use the sendkeys script to send one escape key to mirc, that will close the menu, leaving the dialog. Not very clean but I think it’ll work.
© mIRC Discussion Forums