From WikiChip
Difference between revisions of "mirc/identifiers/$exists"
< mirc‎ | identifiers

(Bot: ac)
Line 1: Line 1:
 
{{mirc title|$exists identifier}}The '''$exists''' identifier can be used to determine whether a specified file, or folder, exists. If the file/folder exists, or does not exist, the identifier will return {{mIRC|$true}} or {{mIRC|$false}}, respectively.
 
{{mirc title|$exists identifier}}The '''$exists''' identifier can be used to determine whether a specified file, or folder, exists. If the file/folder exists, or does not exist, the identifier will return {{mIRC|$true}} or {{mIRC|$false}}, respectively.
 +
  
 
== Synopsis ==
 
== Synopsis ==
Line 23: Line 24:
 
* {{mIRC identifier list}}
 
* {{mIRC identifier list}}
  
[[Category:mIRC identifiers]]
+
[[Category:mIRC identifiers|$exists identifier - mIRC]]

Revision as of 13:37, 20 September 2017

The $exists identifier can be used to determine whether a specified file, or folder, exists. If the file/folder exists, or does not exist, the identifier will return $true or $false, respectively.


Synopsis

$exists(File/Folder)

Parameters

File/Folder The file or folder to check for

Example

Echo to the active screen if mirc.ini exists

//echo -a $exists(mirc.ini)

The above executed line should return the following:

$true

Compatibility

Added: mIRC v4.6
Added on: 07 Sep 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.

See Also

[Expand]
v · d · e mIRC identifier list