mIRC Home    About    Download    Register    News    Help

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

Joined: Dec 2015
Posts: 147
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2015
Posts: 147
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