kssr3951 Jun 10th, 2014 (edited) 298 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- LOG_FILE_NAME = "debug.log"
- function log(txt)
- local hFile
- if fs.exists(LOG_FILE_NAME) then
- hFile = fs.open(LOG_FILE_NAME, "a")
- hFile = fs.open(LOG_FILE_NAME, "w")
RAW Paste Data