mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2004
Posts: 291
W
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
whats the event for a dcc send completing
i need to , when a dcc send finishes read
names.txt and use the info to carry the next send
e.g
dcc send completes
unset %slotnick
dccsend $read(names.txt, 1)
but that says no such file : $read(names.txt, 1)
but the file is in the text any ideas of doing it?
thanks alot

Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
on filesent
You would probably also need to consider
on sendfail

Joined: Jun 2004
Posts: 291
W
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
lol,
cool thanks
:P

Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
To check the command $read(names.txt, 1) type this in your status window //echo -s $read(names.txt, 1) Make sure the names.txt is in your mirc folder

Here are 3 different ways to apply the command

on *:NOTICE:*:?: {
if (DCC SEND isin $1-) {
notice $nick $read(names.txt, 1)
}
}
[color:black]
Now you can also apply this to Filesent
[color:red]
on *:FILESENT:*: {
notice $nick $read(names.txt, 1)
}
[color:black]
as well as Send fail
[color:red]
on *:SENDFAIL:*: {
notice $nick $read(names.txt, 1)
}




Intelligence: It's better to ask a stupid question, then to prove it by not asking....

Link Copied to Clipboard