mIRC Homepage

Right-Click for View Channel Log

Posted By: Maelish

Right-Click for View Channel Log - 04/11/19 04:06 PM

Hi guys.

Currently you can right-click in a channel window. But it only gives you an option to view Channel Modes.

Is it possible to script an additional option such as View Log for the current channel?
Posted By: Dazuz

Re: Right-Click for View Channel Log - 04/11/19 06:12 PM

Certainly, you can either edit the popups (ALT+P) section in script editor, or use remote (ALT+R) scripts like this one:
Code
menu channel {
  $iif(!$isfile($chan(#).logfile),$style(2)) View channel log:logview $qt($chan(#).logfile)
  Random example:echo -a Hello world!
}
If the log file doesn't exist, the menu entry will be grayed out.

/help menus
© 2021 mIRC Discussion Forums