You can close a windows based on its CID, '/window -c @ $+ $activecid' would do the job here, no need for a while loop

Last edited by Wims; 30/03/26 04:39 PM. Reason: that's just incorrect

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