Advertisement
TitanChase

Untitled

Nov 7th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local modem = peripheral.wrap("top")
  2. local channel = 1
  3.  
  4. modem.open(channel)
  5.  
  6. while true do
  7. event, side, frequency, replyFrequency, message, distance = os.pullEvent("modem_message")
  8. print("Recieved Message:")
  9. print("message")
  10. shell.run(message)
  11. sleep(1)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement