Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("checking for updates...")
- sleep(3)
- while rednet.receive() do
- print("Update enable!")
- else
- print("No update enable")
- sleep(3)
- shell.run("menu")
- end
- x = io.read()
- if x == "ja" then
- shell.run("Update")
- if x == "nee" then
- shell.run("menu")
- else
- print("Give a command")
- shell.run("update check")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement