From WikiChip
$isfile Identifier - mIRC
< mirc‎ | identifiers
Revision as of 10:28, 12 June 2017 by Westor (talk | contribs) (Created page with " {{mirc title|$isfile Identifier}}'''$isfile(path)''' Returns $true if the specified file exists, otherwise $false, (same as $exists). == Synopsis == <source lang="mIRC"> $i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


$isfile(path) Returns $true if the specified file exists, otherwise $false, (same as $exists).

Synopsis

$isfile(path)

Paramters

* Path = The direction/path of the filename you want to check for.

Properties

None

Example

//echo -a $isfile($mircexe)

It will return $true because is checking if the mirc.exe exists or not, as you using the mIRC it always be true.

//echo -a $isfile($mircdirtest.txt)

It will return $true if inside your mIRC direction there is an file named as "test.txt", otherwise will be $false.


Compatibility

Added: mIRC v5.5
Added on: 08 Jan 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also