Jump to content

Read all files in a folder?


megaman54

Recommended Posts

Is it possible to read and execute all files in a folder with script without adding the files to the meta.xml ? Like i have folders called "maps" and there is 1 map when the resource starts then i add there another map and i do command like /reloadmaps and it checks the folder and sees there is a new map and then it loads that map file and creates the objects and other stuff from that map file.

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...