hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

onlinepass
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
saetji
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

Reaper527
QUOTE

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
Bl00r
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:
CODE
on 1:GETFAIL:file_name.tar:ctcp $nick xdcc send #pack
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.