Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("set shell.allow_disk_startup false")
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setCursorPos(1,1)
- password = "away"
- term.setTextColor( colors.yellow )
- print("CraftOS 1.7")
- function trolol()
- term.setTextColor( colors.yellow )
- write("> ")
- term.setTextColor( colors.white )
- aba = read()
- if aba == password then
- shell.run("set shell.allow_disk_startup true")
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- print("Daten sind wieder Frei!")
- term.setTextColor( colors.white )
- shell.run("delete startup")
- shell.run("copy savestartup startup")
- shell.run("delete savestartup")
- else
- term.setTextColor( colors.red )
- print("No such program")
- term.setTextColor( colors.white )
- trolol()
- end
- end
- trolol()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement