Advertisement
Guest User

test.lua

a guest
Jul 19th, 2024
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local modem = peripheral.find("modem")
  2. rednet.open("top")
  3. while true do
  4.  local id, message
  5.  repeat
  6.  id, message = rednet.receive()
  7.  until id == 3
  8.  redstone.setOutput("back", true)
  9.  sleep(0.4)
  10.  redstone.setOutput("back", false)
  11. end
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement