Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArg = {...}--Program, Message
- local Date = os.day("utc")
- File = Date..".txt"
- local file = fs.open(fs.combine("os/System/Files/Logs",File),"a")
- file.writeLine("["..os.time().."]["..tArg[1].."]"..tArg[2])
- file.close()
Add Comment
Please, Sign In to add comment