mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2003
Posts: 414
Fjord artisan
OP Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
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,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
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 } }

Joined: Jul 2004
Posts: 150
D
Vogon poet
Offline
Vogon poet
D
Joined: Jul 2004
Posts: 150
Confirmed here too.

Win XP SP1 using mIRC 6.1 , 6.12 and 6.16

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


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
ho ho much better, I just assumed it included anything initiated from inside the event. Damn that assumption problem again!


Link Copied to Clipboard