mIRC Home    About    Download    Register    News    Help

Print Thread
#90977 19/07/04 07:41 AM
Joined: Apr 2004
Posts: 51
Babel fish
OP Offline
Babel fish
Joined: Apr 2004
Posts: 51
is it possible to close a server window within a script as long as it isn't the primary server window? I tried close and some window commands but those don't allow the closing of a status window as far as i could tell.

#90978 19/07/04 09:19 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
/window -c "status window"


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#90979 19/07/04 09:09 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
You can switch to the status window you want to close (see /help /scon) and then use the /window -c "Status Window" command.

I.g.: /scon 2 /window -c "Status Window"

This will make the followings commands to be performed on the 2nd connection opened (if i'm not mistaken)

Hope this helps!
Zyzzyx. smile


"All we are saying is give peace a chance" -- John Lennon
#90980 22/07/04 06:07 AM
Joined: Apr 2004
Posts: 51
Babel fish
OP Offline
Babel fish
Joined: Apr 2004
Posts: 51
Hey thanks a bunch guys smile the, i shoulda done the ol "" mighta saved me some headache :tongue:.


Link Copied to Clipboard