Advertisement
fantadada

Test_04

Apr 30th, 2020
792
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. //cree par fantadada
  2. print("le serveur 2.0")
  3. rednet.open("right")
  4. while true do
  5.  sleep(0.1)
  6. id, msg = rednet.receive()
  7. if msg == "1" then
  8. rs.setOutput("top",true)
  9. sleep(1.5)
  10. rs.setOutput("top",false)
  11.  end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement