$file.ls

# $file.ls Returns a directory listing
Usage
    $file.ls(<directory>,[<flags>[,<namefilter>]])
Description
Returns the listing of the specified directory as an array. The <directory> should be an unix-style file path and is adjusted according to the system that KVIrc is running on. <flags> may be a combination of the following characters: d: list directories f: list files l: list symbolic links r: list readable files w: list writeable files x: list executable files h: list hidden files s: list system files n: sort files by name t: sort files by file time b: sort files by file size z: put the directories first, then the files k: invert sort order i: case insensitive sort If <flags> is empty then a default of 'dfrwxhs'. If none of r,w,x is set then KVIrc sets all of them by default. If <namefilter> is passed then it is interpreted as a wildcard string that must match the entries to be returned.
Syntax Specification
    <array> $file.ls(<directory:string>,[<flags:string>[,<namefilter:string>]])

Index, Functions

KVIrc 3.4.0 Documentation
Generated by loris at Mon Mar 17 20:35:38 2008