I have to say tsoglanos, i've never seen a more useless reply to a question but still..
I ABSOLUTELY hate, Com Objects, however, when the need arrises they can be of use.. try the following it works okay for me, but i'm not saying its "perfect".
alias chandialog {
if ($1) {
var %a = chandialog | .comopen %a WScript.Shell
if (!$comerr) {
var %b = $com(%a,AppActivate,3,bstr,mIRC Channel Central $1)
var %c = $com(%a).result | .comclose %a
return %c
}
}
}
Syntax: $chandialog(#Channel)
Example: //timer 0 3 echo -s -> $!chandialog($active)
Returns, $true when open, $false when closed..
Works, by attempting to make the channel window the "active window", and if it cant, then it must not be open, if it can then its open..
Hope this helps.
Eamonn.