khaled doesnt have a way to get the window list unless u were to send a $window(0) and $window(1) etc to mIRC via the mapped file
The only real way you could windows being opened would not be via the switch bar since it uses custom messages etc but my guess would be to monitor the mdi windows like you said other than that your kinda outa luck unless you put in your script like a
on *:open:@:dll mydll.dll WINDOWOPEN $target
on *:close:@:dll mydll.dll WINDOWCLOSE $target
*note i think its $target
that would be the only efficent way to monitor @windows opening and closeing
