I'm so silly! The text file needs moved or I can use file = io.open("mapbank\\filetester.txt", "r")
It's working... but the entity is not being destroyed.
-- Check for file
function filecheck_init()
file = io.open("filetester.txt", "r")
if file ~= nil then
io.input(file)
io.close(file)
Prompt("File WAS Found. ")
Destroy(e) else
Prompt("File NOT Found. ")
Destroy(e)
end
end