Government Security
Network Security Resources

Jump to content

Mirc Auto Resume Script


  • Please log in to reply
4 replies to this topic

#1 Guest_onlinepass_*

Guest_onlinepass_*
  • Guests

Posted 18 February 2004 - 02:30 AM

Hi all

I have just started with MIRC scripting.....

i was downloading a file...that was a pretty big file....and it was frequently disconnecting....i had to manyally start the download again and "Click Rseume"

So i thought of finding a MIRC script that could do the task....but couldnt find an appropriate one....

Hope you have got my point....

i want a script that will automatically CTCP with a given command....

and then "Resumes" the previously downloaded file.


Regards,
Onlinepass

#2 saetji

saetji

    Sergeant

  • Members
  • 212 posts

Posted 18 February 2004 - 04:57 AM

easy

1) Set the files on autoget and autoresume (Tools>>options>>DCC>>sumwhere in there - have a look around)

secondly, if u want your script to ask for the file, u need to make a timer which will check to see if u have a get from that nick, and if u dont AND the nick is on the chanel, then it will send the command

#3 Reaper527

Reaper527

    Specialist

  • Members
  • 131 posts

Posted 18 February 2004 - 08:55 AM

he on FILESENT and on FILERCVD events trigger when a dcc send or dcc get succeeds.


Format: on <level>:FILESENT:<filename[,filename]>:<commands>
Example: on 1:FILESENT:*.txt:/msg $nick I have successfully sent you the $filename text file

The on SENDFAIL and on GETFAIL events use the same format as above, and trigger when a dcc send or dcc get fails.

Examples

on 1:FILESENT:*.txt,*.ini:/echo Sent $filename to $nick $address

This triggers when a dcc send succeeds in sending a .txt or .ini file to a user. $filename refers to the filename that was transmitted.

on 1:FILERCVD:*.txt,*.ini:/echo Received $filename from $nick | /run notepad.exe $filename

This triggers when a dcc get succeeds in getting a .txt or .ini file from a user.

on 1:SENDFAIL:*.txt:/echo I failed to send the text file $filename to $nick

This triggers when a dcc send failed to send a .txt file to a user.

on 1:GETFAIL:*.zip:/echo I failed to get the zip file $filename from $nick

This triggers when a dcc get failed to get a .zip file from a user.


this if from the included help files, i'm not 100% sure, but i think the on getfail might help you, i'm not sure if it simply means the transfer never starts, or if it will also include the transfer being disconnected in the middle, but you can give it a try

#4 Bl00r

Bl00r

    Private First Class

  • Members
  • 62 posts

Posted 18 February 2004 - 10:12 AM

first, you need to set up some DCC options (Alt + O)
select Auto-get file, if file exists: Resume
then add the bot who's sending the file to the Trusted Users list
open Remote (Alt + R) and add something like this:
on 1:GETFAIL:file_name.tar:ctcp $nick xdcc send #pack


#5 Zero Unfinished

Zero Unfinished

    Private

  • Members
  • 2 posts

Posted 06 July 2013 - 03:01 PM

first, you need to set up some DCC options (Alt + O)
select Auto-get file, if file exists: Resume
then add the bot who's sending the file to the Trusted Users list
open Remote (Alt + R) and add something like this:

on 1:GETFAIL:file_name.tar:ctcp $nick xdcc send #pack

 

I tried and it does'nt work somehow. Does the script need to be replaced with BOTS and PACKS NUMBER ?

On the net I found XDCC Browser. But I does'nt know how to use it anyway.

Help Please.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users