View Single Post
  #4  
Old 12-23-2002, 05:21 PM
Questa Questa is offline
Back to the Beat
Join Date: Jan 2002
Location: USA
Posts: 1,230
Questa is on a distinguished road
Send a message via AIM to Questa
Re: Various programming and RC suggestions

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.
Reply With Quote