mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2003
Posts: 413
A
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 413
Dcc chat window is auto-close when the "DCC session" is terminated by remote user and the dcc chat was initialized from a event(ex. On Text/On Join/On Input..etc)

How to reproduce?
1. Open two server windows(with different nicks.. example nick1, nick2), connect&join both to the same channel.. (you can open two mircs.. to be sure what bug is not caused by some multiserver feature)
2. In remote put some event what will initialize a dcc chat with nick2, i chose the on Input event(easy to trigger)..
Code:
on 1:INPUT:#:{
  if ($1- == TypeIt) { dcc chat [color:blue]Nick2[/color] | haltdef }
}

(you must change Nick2 to your 2th nick)
3. Type in the channel window: TypeIt, mIRC will try to make a dcc connection, press accept on 2th connection
4. Affter successfully "DCC Chat connection established", close dcc chat in 2th connection, you'll notice what the dcc chat from 1th connection is also closed!

Tested on mIRC 6.16, Windows XP.

If /dcc chat is called from a alias or command line, all is fine..

Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
Confirmed (98SE, v6.16).

Note: It's not a case of having the 'Auto-close on DCC chat completion' option enabled, before someone suggests it.

D
DaveC
DaveC
D
Same on 2k & xp with 6.16 and 6.14.

Dont know if u need a work around but this well do in most cases.

on 1:INPUT:#:{ if ($1- == TypeIt) { var %t = $editbox(status window) | editbox -sn //dcc chat localhost $chr(124) editbox -s %t | haltdef } }

D
Debug
Debug
D
Confirmed here too.

Win XP SP1 using mIRC 6.1 , 6.12 and 6.16

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Or just use
.timer 1 0 dcc chat <nick>
instead of
dcc chat <nick>

D
DaveC
DaveC
D
ho ho much better, I just assumed it included anything initiated from inside the event. Damn that assumption problem again!


Link Copied to Clipboard