Note : This is for VXAce ONLY. ^^
(Put this script in an event!)
-
-
If the .txt file already exists within the game directory, it shouldn't create the file anymore (unless removed again).
Replace [ sample ] and [ Replace this text ] with anything you'd like.
(Put this script in an event!)
-
unless File.exist?("sample.txt") file = File.open("sample.txt", "w") file.puts("Replace this text") file.closeend-
If the .txt file already exists within the game directory, it shouldn't create the file anymore (unless removed again).
Replace [ sample ] and [ Replace this text ] with anything you'd like.