CreateDirectory

Attempts to create a given directory.

CreateDirectory(dir) : true | false
CreateFolder(dir) : true | false

Example

Create a folder myfolder in the scripts directory.

local success = CreateDirectory('scripts/myfolder')