From WikiChip
Difference between revisions of "mirc/identifiers/$isdir"
(Created page with " {{mirc title|$isdir Identifier}}'''$isdir(path)''' Returns $true if the specified directory exists, otherwise $false, (same as $exists). == Synopsis == <source lang="mIRC">...") |
|||
Line 7: | Line 7: | ||
$isdir(path)</source> | $isdir(path)</source> | ||
− | == | + | == Parameters == |
'''* Path''' = ''The direction/path you want to check for.'' | '''* Path''' = ''The direction/path you want to check for.'' |
Revision as of 09:30, 12 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$isdir(path) Returns $true if the specified directory exists, otherwise $false, (same as $exists).
Synopsis
$isdir(path)
Parameters
* Path = The direction/path you want to check for.
Properties
None
Example
//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
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.