Advertisement
Guest User

a

a guest
Jul 29th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. while true do
  2.  
  3. rednet.open("back")
  4. id, msg, dist = rednet.receive()
  5. if id == 72 then
  6. rednet.send(74,msg)
  7.  
  8. else
  9. if id == 74 then
  10. rednet.send(72,msg)
  11. end
  12. ChkMsg = "ChkMsg"
  13. if msg == ChkMsg then
  14. rednet.send(74,"R4_OK")
  15. print(id)
  16. end
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement