Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local pass = "Tech"
- rednet.open("left")
- while true do
- rs.setOutput("bottom", true)
- local id, msg = rednet.receive()
- if msg == pass then
- rednet.send(id, "yes")
- rs.setOutput("bottom", false)
- sleep(2.5)
- rs.setOutput("bottom", true)
- else
- rednet.send(id, "no")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement