Advertisement
Guest User

dispatchTop

a guest
Feb 18th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. rednet.open("left")
  2. while true do
  3.   local event, id, message = os.pullEvent()
  4.   if (event == "rednet_message" and message == "dispatchTop") then
  5.     rs.setOutput("back", true)
  6.     os.sleep(5)
  7.     rs.setOutput("back", false)
  8.   end
  9.   if event == "redstone" then
  10.     rednet.broadcast("dispatchBottom")
  11.   end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement