Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local message, id = rednet.recieve(60)
- local send = rednet.broadcast()
- keyCard = peripheral.wrap("top")
- if disk.getLabel("top","ICTchip") then
- rs.setOutput("left",true)
- rednet.broadcast("IctOn")
- disk.eject("top")
- else
- sleep(3)
- os.reboot()
- end
- end
- if message == "IctOff" then
- rs.setOutput("left",false)
- rednet.broadcast("IctisOff")
- else
- sleep(3)
- end
- sleep(3)
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement