View Single Post
  #1  
Old 07-08-2008, 01:30 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
loadSubFolders(str, int);

I would like to request this EXTREMELY useful function. As of now, I can load a folder's content with loadFolder(str, int); - but that's it. If I have a lot of dynamically created folders (which I do) as subfolders to a folder, there is no way I can find them out at the moment - without resorting to saving the name of each created folder in an array (heaven forbid).

This function would only list the name of the subfolders to the folder sent as parameter.

Example:

PHP Code:
temp.foo loadSubFolders("levels/"0);
echo(
temp.foo); 
Would (on Mythic anyways) echo:

PHP Code:
audioganisgmapsimagesMUDLIBProjectCastleTownrandomizedstafftemplates 


So pwetty pwease, can this be added?

*begs*
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote