Advertisement
furest

recevoir

Jan 19th, 2013
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("right")
  2. id,message = rednet.receive()
  3. local monitor = peripheral.wrap("left")
  4. if id == 2 then
  5. monitor.clear()
  6. monitor.setCursorPos(1,1)
  7. monitor.write(message)
  8. sleep (1)
  9. rednet.send(2,"Message Recu")
  10. shell.run("cpt")
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement