yelow79, in a popup definition, if the popup label is $null then that menu, as well as its submenu in this case, isn't created. $iif($server, Stats) returns $null if $server doesn't return a positive value, ie. when you're disconnected from a server, and so 'Stats' only appears when you're connected.