i was going to ask a question on here to find out how to detect a status window being closed, did a search and found what i needed

below:

Code:
on *:close:*:{

  if ($target == status Window) { 

    if (!$window(@statuswatch)) { window -aeZ @statuswatch }

    aline @statuswatch Closed -> Network: $network $+ , Cid: $cid

  }

}
  


Is there any way to detect the opposite? when the actual status window is opened?

thanks.