Guest User

startup

a guest
May 20th, 2014
201
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("left")
  2. while true do
  3. local id, msg, dis = rednet.receive()
  4.   if msg == "SU" then
  5.     print("Got it!")
  6.     rs.setOutput("right", true)
  7.     sleep(2)
  8.     rs.setOutput("right", false)
  9.     sleep(5)
  10.   end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment