From WikiChip
$menutype Identifier - mIRC
< mirc‎ | identifiers
Revision as of 16:09, 27 April 2019 by Ouims (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$menutype return the type of menu inside a menu { }.

For status/channel/query/menubar, $menutype returns the same as $menu, which is "status", "channel" etc.. But for custom windows, $menutype returns "custom".


Synopsis

$menutype

Paramters

None

Properties

None

Example

menu nicklist,channel,@win,@other  {
     $iif($menutype == nicklist,...):{}
     $iif($menutype == custom,$iif($menu == @other,stuff,otherstuff)):{}
}

Compatibility

Added: mIRC v6.3
Added on: 16 Aug 2007
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also

[Expand]
v · d · e mIRC identifier list