From WikiChip
$isdir Identifier - mIRC
< mirc‎ | identifiers
Revision as of 19:22, 20 June 2024 by 2a02:c7c:a24f:2f00:88cd:f39:40f2:48d5 (talk) (Fix typo in link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$isdir(path) returns $true if the specified directory exists, otherwise $false, (same as $exists).


Synopsis[edit]

$isdir(path)

Parameters[edit]

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

Properties[edit]

None

Example[edit]

//echo -a $isdir($mircdir)

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

//echo -a $isdir($mircdirtest)

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


Compatibility[edit]

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[edit]

[Expand]
v · d · e mIRC identifier list