Quote:
Originally posted by GrowlZ1010
New command: download url;
Opens up one of those Internet Explorer download boxes with the download URL set to what you specify. Good for getting level packs, maps, graphics, etc. Example:
NPC Code:
if (playerchats && strequals(#c,DOWNLOAD GRAPHICS)){
download http://whatever.examplehost.com/growlz/growlzgfx.zip;
}

|
I don't like this one. First of all the URL would have to be in quotes so not to confuse it with the rest of the code. Second, maybe make a filter so that you can only download .pngs? Downloading ZIPs seems kind of easy to exploit with viruses. I mean what if someone hacked the site that hosted a ZIP file and then he replaced the ZIP file with one that had a virus in it? Besides the server already downloads the needed graphics. So this download thing is pointless.