From WikiChip
Difference between revisions of "mirc/identifiers/$isfile"
(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...") |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|$isfile Identifier}}'''$isfile(path)''' returns $true if the specified file exists, otherwise $false, (same as $exists). | ||
− | |||
− | |||
== Synopsis == | == Synopsis == | ||
Line 7: | Line 6: | ||
$isfile(path)</source> | $isfile(path)</source> | ||
− | == | + | == Parameters == |
'''* Path''' = ''The direction/path of the filename you want to check for.'' | '''* Path''' = ''The direction/path of the filename you want to check for.'' | ||
Line 28: | Line 27: | ||
{{mIRC compatibility|5.5}} | {{mIRC compatibility|5.5}} | ||
− | == See | + | == See also == |
− | |||
* {{mIRC|$exists}} | * {{mIRC|$exists}} | ||
* {{mIRC|$isdir}} | * {{mIRC|$isdir}} | ||
+ | * {{mIRC|$true}} | ||
+ | * {{mIRC|$false}} | ||
+ | {{mIRC identifier list}} | ||
+ | [[Category:mIRC identifiers|isfile]] |
Latest revision as of 16:31, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$isfile(path) returns $true if the specified file exists, otherwise $false, (same as $exists).
Synopsis[edit]
$isfile(path)
Parameters[edit]
* Path = The direction/path of the filename you want to check for.
Properties[edit]
None
Example[edit]
//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[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]
mIRC identifier list