with
Code:
//echo -a $window(-2).state
you can view the mIRC mdi state.
The main mIRC window is $window(-2) but you can't use the /window command with this special window.
You can only use some $window().prop
Code:
$window(-2).state
$window(-2).h
$window(-2).w
$window(-2).type

and so on...