mIRC Homepage
Posted By: Mary_juana status window opening - 29/10/05 02:42 PM
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.
Posted By: RusselB Re: status window opening - 29/10/05 03:46 PM
I can't say for sure, but I would think the ON OPEN event would work for that.
© mIRC Discussion Forums