$exists(file/dir)
Returns $true if a file or dir exists and $false if it doesn't. $exists(c:\mirc\mirc.exe) returns $true or $false.