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:
audio, ganis, gmaps, images, MUDLIB, ProjectCastleTown, randomized, staff, templates
So pwetty pwease, can this be added?
*begs*