Advertisement
DarkSiders061

Receveur sans porte 2.0

Jun 12th, 2025 (edited)
946
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 == "znkcavecreeperon" then
  8.         redstone.setOutput("bottom", true)
  9.         end
  10.         if message == "znkcavecreeperoff" then
  11.         redstone.setOutput("bottom", false)
  12.         end
  13. end
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement