mIRC Home    About    Download    Register    News    Help

Print Thread
#93193 07/08/04 08:19 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
raw 322:*:{
haltdef
window @list 400 400 400 400
aline @list $2-
}

i have this raw is for channel list
how cant i close the original window?


mess with the best
#93194 07/08/04 09:13 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
haltdef does not work with Raws.. try using halt instead smile
also make sure the @list window is open.

Btw, you can close a window with /window -c <window name>

Zyzzy



"All we are saying is give peace a chance" -- John Lennon
#93195 07/08/04 09:20 PM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
The Channels window spawns automatically with the use of /list, you can close it using /window -c "Channels List" in your raw command.. i.e.

raw 321:*:{ window -c "Channels List" }
raw 322:*:{ echo -s -> $1- | window -c "Channels List" }
raw 323:*:{ window -c "Channels List" }


The downside is that you may actually see the window open and close.

Eamonn.

#93196 08/08/04 01:30 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Better off hiding it rather than trying to close it 50,000 times. smile

raw 321:*:window -h "Channels List"
raw 322:*:{
if !$window(@list) { window @list 400 400 400 400 }
aline @list $2-
}
raw 323:*:window -c "Channels List"

#93197 08/08/04 01:56 AM
Joined: Mar 2004
Posts: 540
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
I beleive i remember reading you cant halt the channel list window, so Id try to go with the hiding idea


Link Copied to Clipboard