Advertisement
Guest User

startup.lua

a guest
Nov 15th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. rednet.open("top")
  2. while true do
  3.  sender,message, protrocol = rednet.receive()
  4.  if message == "mb_off" then
  5.     redstone.setOutput("left",true)
  6.   end
  7.  if message == "mb_on" then
  8.     redstone.setOutput("left",false)
  9.  end
  10. sleep(.1)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement