This is non-recursive, and only returns the contents of the directory specified. Names returned are relative to the specified path.
Path must be a directory with a trailing slash.
// given a directory structure like
//
// example
// ├── maps
// │ └── map.dmm
// ├── code.dme
// └── icons
// ├── icon.dmi
// └── other_icon.dmi
for( in ("icons/"))
world.log << item // "icon.dmi", "other_icon.dmi"
for( in ("./"))
world.log << item // "maps/", "code.dme", "icons/"