Advertisement
DarkSiders061

Receveur sans porte 2.0

Jul 20th, 2024 (edited)
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local modem = peripheral.find("modem")
  2. rednet.open("top")
  3.  
  4. while true do
  5.     local id, message
  6.     id, message = rednet.receive()
  7.         if message == "N4" then
  8.         redstone.setOutput("back", true)
  9.         sleep(0.4)
  10.         redstone.setOutput("back", false)
  11.         end
  12. end
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement