mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 24
I
Iceflow Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Sep 2003
Posts: 24
How do I request a file if the send fails and I have to wait for the time out period?

Eg: for some reason the bot is haveing short term connection issues and your request that took you 3 days to come frrom a queue fails. How do I then retry after the time out period?

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
The "on getfail" event triggers when a DCC get is interrupted.

Joined: Sep 2003
Posts: 24
I
Iceflow Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Sep 2003
Posts: 24
do i have to enter a script for "on getfail" to work or is it an automatic function within mIRC?

Usually when a get fails I have to request the file again.


Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
On *:getfail:*:{ echo Failed to get $filename from $nick }

Change the above /echo to the command you need to perform.

Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
You will however need to manually save the trigger used to get the file tho. Don't dump a message into the channel saying "hey this failed, send again" that usually doesn't work. And if the file you're getting is from a fserve, it's gonne be one helluva job to create the script to navigate in the fserve and get the file.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius

Link Copied to Clipboard