wbennet997

billrecv

Jul 27th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. peripheral.wrap("back")
  2. rednet.open("back")
  3. while true do
  4.   local sender, message, distance = rednet.receive(--[[/* Timeout Value */]]-- 5)
  5.   if message == "on" then
  6.     redstone.setOutput('top',true)
  7.     sleep(4)
  8.     redstone.setOutput('top',false)
  9.   end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment