mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2004
Posts: 237
JAFO Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Sep 2004
Posts: 237
on *:FILERCVD:*.*:{
/window -nk[N] @DCC.Info
/echo @DCC.Info $timestamp *** DCC Get Complete from $nick $filename
}
That is what i have .... i also have one for DCC Fail , and DCC Send.
Should i combine them using || , in the first line.
And of course use the || for the responses also?

Joined: Nov 2003
Posts: 257
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
I'm not sure what you mean.

If you want all of the events to echo in the same window,
just make them all echo the same @window. If each event has /echo @dcc.info then it should combine them already, if not, change the other events with that above.

Hope this helps

Last edited by alkahol1k; 25/09/04 11:53 AM.
Joined: Mar 2003
Posts: 160
Vogon poet
Offline
Vogon poet
Joined: Mar 2003
Posts: 160
you can't combine the events, like alkohol1k said you'll have to do the events seperatly and echo them to the same window

on 1:FILESENT:*:{ /window -nk[N] @DCC.Info
/echo @DCC.Info $timestamp *** DCC Send Complete to $nick $filename
}

on 1:FILERCVD:*:{ /window -nk[N] @DCC.Info
/echo @DCC.Info $timestamp *** DCC Get Complete from $nick $filename
}

on 1:SENDFAIL:*.*:{ /window -nk[N] @DCC.Info
/echo @DCC.Info $timestamp *** DCC Failed to send to $nick $filename
}

on 1:GETFAIL:*.*:{ /window -nk[N] @DCC.Info
/echo @DCC.Info $timestamp *** DCC Failed to get from $nick $filename
}

and you can add in an else if statement to all of them if the window is already open

Joined: Sep 2004
Posts: 237
JAFO Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Sep 2004
Posts: 237
LOL , Thanks a lot ...... seems i am trying too hard with this scripting stuff and all too often dont see the obvious.


Link Copied to Clipboard