mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2012
Posts: 59
Maelish Offline OP
Babel fish
OP Offline
Babel fish
Joined: Aug 2012
Posts: 59
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?


Find Gamers, my player finder for tabletop RPGers and Wargamers.
Joined: Dec 2015
Posts: 148
Vogon poet
Offline
Vogon poet
Joined: Dec 2015
Posts: 148
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


Link Copied to Clipboard