mIRC Home    About    Download    Register    News    Help

Print Thread
DCC Window #11953 19/02/03 03:45 AM
Joined: Dec 2002
Posts: 40
L
Lucifer Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 40
I want an event for when the dcc send or/and when the dcc get windows are closed. There is an event for the dcc chat
"on :close:=:" but there isn't one for the get or send... atleast that I could find

Re: DCC Window #11954 19/02/03 03:51 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
from the help file

on 1:CLOSE:!:/echo -s $nick just ended her fileserver session


D3m0nnet.com
Re: DCC Window #11955 19/02/03 03:33 PM
Joined: Dec 2002
Posts: 117
R
Rich Offline
Vogon poet
Offline
Vogon poet
R
Joined: Dec 2002
Posts: 117
He means the actual get dialog, with the nice progress bar and stuff.
Maybe getfail or sendfail are triggered?


$input(Me like stars, You too?)
Re: DCC Window #11956 19/02/03 04:55 PM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
um the help file says that event is triggered on a close of a dcc window ..... just quoting the help he asked for ..... cant help it if hes looking for something other than he says he is .....


D3m0nnet.com
Re: DCC Window #11957 20/02/03 12:58 AM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
on *:CLOSE:!: is when a DCC Chat window closes, not DCC Send (or Get).

You can use 4 events:
[*] on GETFAIL
[*] on FILERCVD
[*] on SENDFAIL
[*] on FILESENT

Inside each, you could check to see if a $get or $send window to that nick is still opened and check its status. You could even close them through your script if you had a mind to do so. smile


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C