From WikiChip
$menutype Identifier - mIRC
< mirc‎ | identifiers

$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[edit]

$menutype

Paramters[edit]

None

Properties[edit]

None

Example[edit]

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

Compatibility[edit]

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[edit]

[Expand]
v · d · e mIRC identifier list