Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("front")
- function checkpass()
- if msg == "lucozade" then
- rednet.send(id, "yes")
- elseif msg == "su25tmflanker" then
- rednet.send(id, "yes")
- elseif msg == "DGM01" then
- rednet.send(id, "yes")
- else
- print ("wrong")
- end
- end
- --PROGRAM START
- while true do
- id,msg=rednet.receive()
- checkpass()
- end
Advertisement
Add Comment
Please, Sign In to add comment