Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --==[CONFIG]==--
- local Side = "Top" -- change this to the side of the modem.
- local Frame = {
- " _________________________ ",
- " | Update | ",
- " | | ",
- " | | ",
- " | No update anable | ",
- " | | ",
- " |_______________________| ",
- }
- local Frame2 = {
- " _________________________ ",
- " | Update | ",
- " | | ",
- " | | ",
- " | No update anable | ",
- " | | ",
- " |_______________________| ",
- }
- rednet.open("Side") -- here its begins...
- id , message = rednet.receive(10)
- print("UpdateControl: " ..id.." has broadcast a update
- print("the update is: ")
- print(message)
- if message == "Update" then
- print(Frame2)
- shell.run("Updater")
- else
- print(Frame)
- sleep(3)
- term.clear()
- shell.run("menu")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement