mIRC Home    About    Download    Register    News    Help

Print Thread
#134181 29/10/05 02:42 PM
Joined: May 2005
Posts: 79
M
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 79
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.

#134182 29/10/05 03:46 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I can't say for sure, but I would think the ON OPEN event would work for that.


Link Copied to Clipboard