mIRC Home    About    Download    Register    News    Help

Print Thread
#176637 12/05/07 05:53 PM
Joined: Feb 2007
Posts: 33
H
harl91 Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Feb 2007
Posts: 33
I dont know if its a script or a setting on the mirc client so im sorry if this is in the wrong forum.

How would I make one of my clients auto accept DCC's that are .map files and put them into c:/winbolo/maps/ ?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
This is a setting in mIRC Options.

Options - DCC - Ignore
Change the drop down box called Method: to Accept Only
In File Type:
enter *.map
Next go to Options - DCC - Folders
Click Add
Fill in the information requested in the pop-up box (note not all of it is required)
Press OK

Joined: Feb 2007
Posts: 33
H
harl91 Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Feb 2007
Posts: 33
OK thanks for that.

Now, is there a way with scripting when the download is complete, it preforms an action?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
There is, but there's also an option in the section regarding the folders for programs/actions to be taken upon the completion of a download.

Joined: Feb 2007
Posts: 33
H
harl91 Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Feb 2007
Posts: 33
oh i didn't see that. so i guess if i setup an alias, i could get it to run that alias?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
possibly, however, I think you might be best to do that via a script, as it appears that the section I was referring to looks for an executable to run. EG: Receive a .jpg file, Open it in PaintShop

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
Just an aside. To be safe, he should move/use the file somewhere else as part of the file-complete event, to avoid having a GETFAIL leave him with a corrupted .map file. Also, he should delete an existing *.map file or disable file-resume, to avoid having corrupted .map files resulting from resuming a changed file on top of an old one or on top of a partial getfail.


Link Copied to Clipboard