About This File
This is much faster and more efficient than using mIRC sockets.
Use:
* Extract the zip file to your mircdir ( //echo -a $mircdir )
* Type /load -rs GetWebFile.mrc
* Try one of the examples
* /getmycarddeck (Will download card images)
* /getmyjokes (Will echo a Joke)
Example Scripts:
Example 1 Demonstrates how you can quickly download all the pictures needed for a script by downloading the images for a deck of cards.
Example 2 Demonstrates how you can use this dll instead of sockets to copy a web page to a file and parse the information.
Syntax $GetWebFile(http://full/path/to/filefilename.ext,Xestinationdirectoryincludingfilename.ext)
;**Note** that this dll will not create the destination directory for you.
;If the directory doesn't exist the transfer will fail!
alias GetWebFile {
if ($dll($GWFLocation,GetWebFile,$1 $2)) return 1
else return 0
}
;Syntax $GetWebHeader( http://full/path/to/filefilename.ext,Xestinationdirectoryincludingfilename.ext)
alias GetWebHeader {
if ($dll($GWFLocation,GetWebHeader,$1 $2)) return 1
else return 0
}
;*
;Edit this alias to reflect the location of GetWebFile.dll
alias GWFLocation return $qt($+($mircdir,GetWebFile.dll))
Recommended Comments
There are no comments to display.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.