mIRC Homepage
Posted By: Lucifer DCC Window - 19/02/03 03:45 AM
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
Posted By: _D3m0n_ Re: DCC Window - 19/02/03 03:51 AM
from the help file

on 1:CLOSE:!:/echo -s $nick just ended her fileserver session
Posted By: Rich Re: DCC Window - 19/02/03 03:33 PM
He means the actual get dialog, with the nice progress bar and stuff.
Maybe getfail or sendfail are triggered?
Posted By: _D3m0n_ Re: DCC Window - 19/02/03 04:55 PM
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 .....
Posted By: Hammer Re: DCC Window - 20/02/03 12:58 AM
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
© mIRC Discussion Forums