mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2004
Posts: 21
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2004
Posts: 21
When I do (for example) /window -a "Status Window" or /window -a "#channel" those windows are activated. But when I do same with DCC chat windows (/window -a "=Nick") I get error message "* /window: invalid parameters". If I drop quotation marks, it works fine. This means that quotation marks don't work with DCC chat windows.

Of course there's a way around it...

Code:
var %w = <name of the window>
if ($chr(32) isin %w) window -a $+(",%w,")
else window -a %w


...but I think quotation marks should work with any window.

Joined: Mar 2003
Posts: 187
S
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2003
Posts: 187
you dont need quotations for channels.
just /window -a #channel
works fine.

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Yes it appears to be a bug.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Feb 2004
Posts: 21
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2004
Posts: 21
Soul Eater:

I know.

But a script might not know if window is #channel or Status Window or =dcc-chat or what ever. Command /window -n $active does not minimize "Status Window" but gives error message because it's name has space in it. I must use /window -n " $+ $active $+ " in order to make it work with status window. And, as I reported, quotation marks don't work with DCC chat windows so I have to use different command lines for different types of windows (which is easy but kind of lame).

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
This bug was mentioned here too.

Joined: Nov 2003
Posts: 228
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
The reason it's not working is because the window isn't titled =NickName. Try /window -a "Chat Nickname"

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Why does /window -a =nickname work then?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Nov 2003
Posts: 228
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
It's never worked for me so I've always used "Chat Nickname". =Nickname has caused problems for me in the past when there is a query window and DCC chat with the same nickname.

Joined: Dec 2002
Posts: 329
Fjord artisan
Offline
Fjord artisan
Joined: Dec 2002
Posts: 329
Fixed in mIRC 6.15
38.Fixed /window not handling quotes around =chat window names.


Link Copied to Clipboard