#2
Not negating your suggestion in anyway. This is so simple with a DLL. Just send the same WM_COMMAND message that occurs when selecting the menu item, which as of mirc 6.17 is/was...
wParam values (base 10)...
200 - mIRC Script Editor (Aliases)
202 - mIRC Script Editor (Popups)
203 - mIRC Script Editor (Remotes)
SendMessage(hApp, WM_COMMAND, wParam, 0);