mathiasbarentsen

Modtage

Oct 26th, 2013
95
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("back")
  2.  
  3. while true do
  4.   if(rs.getInput("right")) then
  5.     print("2")
  6.     rednet.send(3, "Start")
  7.     rs.setOutput("bottom", true)
  8.     sleep(3)
  9.     rs.setOutput("bottom", false)
  10.   else
  11.     sleep(0.5)
  12.   end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment