How can I check for the existence of a Certain file

Started by TritraSerpifeu, October 03, 2020, 02:25:22 am

Previous topic - Next topic

TritraSerpifeu

So, I kinda wanna do a own: "Monica.chr" thing. With a Script that checks if a Data of my Choice is there.
I kinda want to use it so I can drop a few little changes when a certain file is not there. I kinda want to be it that I can do something around the lines of:
Conditional Branch: Script: isthere(Characters/Monika.chr)
@>
else
@>
So that I can easily check if one of these datas is there and react based on it

Enigmo

FileTest.exists?("./Characters/Monika.chr")