Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- shell.run("clear")
- term.setCursorPos(45,18)
- print("ID: ",os.getComputerID())
- term.setCursorPos(1,1)
- write("Account: ")
- local a = read()
- if a == "exit" then
- shell.run("clear")
- else
- write("Passwort: ")
- local b = read("*")
- shell.run("clear")
- print(a.." Account wurde gespeichert")
- fs.makeDir("data")
- local file = fs.open("data/"..a,"a")
- file.writeLine(b)
- file.close()
- sleep(3)
- shell.run("clear")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement