Advertisement
towwey

Rednet Receive

Sep 22nd, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. rednet.open("right") -- set to wherever you got the modem
  2. id, message, distance = rednet.receive()
  3. shell.run(message)
  4. rednet.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement