View Single Post
  #5  
Old 07-08-2008, 02:23 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
Quote:
Originally Posted by Twinny View Post
PHP Code:
temp.array.loadfolder("twinny/test/*"1); 
Started at twinny/test/ and managed to grab all the files in the subfolders . Just had to make sure NPC-Server had for twinny/test/* and twinny/test/*/*
Hmph, I see. It didn't work when I did:

PHP Code:
temp.foo.loadFolder("levels/MUDLIB/*.ini"1);
echo(
temp.foo); 
But this solved that issue:

PHP Code:
temp.foo.loadFolder("levels/MUDLIB/*/*.ini"1);
echo(
temp.foo); 
However, I reckon this could still prove a useful function to list what folders there are. No?
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote