Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- while (true)
- do
- write("Enable/ Disable Gate [E/D]? > ")
- local resp = read()
- if resp == "E" then rednet.broadcast("on")
- elseif resp == "D" then rednet.broadcast("off")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement