Skip to content

MISCMENU

Sven edited this page May 11, 2017 · 1 revision

File

SCRIPT\MISCMENU.DAT

Usage of file

Stores menu definitions for the right-click Misc. menu.

Note: Only Misc. definitions for channel right-click are specified. Default menu for status, nicklist and query are not defined, but can still be specified in this file.

Usage in PnP

Called by alias _apopups, MISCMENU.DAT is loadbuffed into a custom window, then savebuffed to adpopups.mrc

var %num = 1,%mtypes = nicklist query channel status
:winp2
%bit = $gettok(%mtypes,%num,32)

loadbuf -t $+ %bit @.adpopups $+ %bit script\miscmenu.dat

When is _apopups called?

  • Install of addons;
  • Uninstall of addons;
  • Translation of PnP;
  • Startup of PnP;
  • During _pnp.upgrade (never)