Yeah, I misread sorry.
$windowqt might be the best option here, avoiding the troubles of $iif's slowness or two lines if/else, although I don't think it would be used that much in script calling /window on unknown/dynamical window's name because nobody would know about using it until they actually meet the problem, and frankly who even use quotes in channel name? I just reported the problem because from a logical point of view it's completely broken and somehow deep inside you don't want mIRC to have such issues, right?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel