$alias

From Scriptwiki
Revision as of 13:19, 10 May 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the filename for the Nth loaded alias file.

$alias(N/filename)

If you specify a filename, it returns $null if the file isn't loaded.

Example

$alias(0)          returns the number of alias files loaded

$alias(2)          returns the filename of the 2nd loaded alias file

$alias(moo.txt)    returns $null if the file isn't loaded, or moo.txt if it is.

See Also