Godleydemon

Untitled

Jun 8th, 2013
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. -- Open the modem. Same as the first program
  2. rednet.open("top")
  3.  
  4. -- Wait for a message
  5. print("Waiting for a message")
  6. id, message = rednet.receive()
  7.  
  8. print("Message received from comptuer ID: " .. id)
  9. print("Message says: " .. message)
Advertisement
Add Comment
Please, Sign In to add comment