View Single Post
  #2  
Old 02-17-2006, 07:14 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Prozac
Is there a command that will return an array of the files that are in a folder on the server?
For example, something like:

getfilelist("levels/images/*.*");

and that returns an array

filelist={"image1.png","image2.gif","image2.mng"}

if there is a command that does something like this, what is it?
Not sure how to phrase the idea of this to put the description into a wiki search engine, so I hope someone here knows it.
There is a command like this, I've used it before. I just can't remember the name of it off the top of my head. If no one answers by the time I get home, I will provide you with the name of the function and the syntax.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote