Advertisement
popatop15

Untitled

Jul 22nd, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. -- Send Program
  2. local modemSide = "back"
  3.  
  4. rednet.open(modemSide)
  5. print("Please enter a receiving ID")
  6. local id = read()
  7. print("Type your message")
  8. local message = read()
  9. rednet.send(tonumber(id), message)
  10. term.clear()
  11. print("Message sent!")
  12. os.sleep(3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement