Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local h = fs.open("records","w")
- function record()
- while true do
- e = {os.pullEvent()}
- if e[1] == "char" then
- print(e[2])
- h.write(e[2])
- h.flush()
- end
- end
- end
- record(),
- h.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement