-- DESCRIPTION: Check for file present local fileFound = false function filecheck_init( e ) local file = io.open("filetester.txt", "r") if file ~= nil then fileFound = true io.close(file) end end function filecheck_main( e ) if fileFound then PromptDuration( "File WAS Found. ", 3000 ) ActivateIfUsed( e ) Destroy( e ) else Prompt("File NOT Found. ") end end