Advertisement
Guest User

startup.lua

a guest
May 29th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. while true do
  4.  
  5.     id , mess = rednet.receive()
  6.     if (mess == go) then
  7.         rs.setOutput("left",true)
  8.         sleep(1)
  9.         rs.setOutput("left",false)
  10.         sleep(1)
  11.     end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement