CONDITIONS

Проверка файла на его фактическое наличие

%path% (is|does)[(n't| not)] exist[s]
if file "eula.txt" is exists:
  broadcast "Yea, file eula.txt is exists"

Проверка что файл является директорией

%path% is[(n't| not)] dir[ectory]
if file "eula.txt" is not directory:
  broadcast "Yea, file eula.txt is not directory, it is regular file"

Проверка что файл является файлом

%path% is[(n't| not)] file
if file "eula.txt" is file:
  broadcast "Yea, file eula.txt is regular file"