Guest User

OBY

a guest
Oct 11th, 2012
101
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. while true do
  3.  
  4.   rs.setOutput("top", true)
  5.   id,msg,dis = rednet.receive()
  6.   if msg == "OBY" then
  7.     rs,setOutput("top", false)
  8.    
  9.     rednet.broadcast("OBYOPEN")
  10.     sleep(1)
  11.   end
  12.  
  13. end
Advertisement
Add Comment
Please, Sign In to add comment