SHARE
TWEET

red

a guest May 19th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("Call ID:"..os.getComputerID())
  2. rednet.open("right")
  3. rednet.open("left")
  4. m="open"
  5. while m~="close" do
  6. i,m=rednet.receive()
  7. if m=="close" then
  8. print("Node Ended with:"..i)
  9. break
  10. end
  11. print("User:"..m)
  12. print("-Reply-")
  13. local reply=read()
  14. rednet.send(i,reply)
  15. if reply=="close" then
  16. print("Node ended with:"..i)
  17. break
  18. end
  19. end
RAW Paste Data
Top