thatparadox

EndergenicReceiver

Apr 28th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. rednet.open("back")
  2.  
  3. while true do
  4.   a,b = rednet.receive(os.getComputerLabel())
  5.   if b == "rs" then
  6.     rs.setOutput("top", true)
  7.     sleep(.05)
  8.     rs.setOutput("top",false)
  9.     sleep(.05)
  10.     rs.setOutput("top",true)
  11.     sleep(.05)
  12.     rs.setOutput("top",false)
  13.   elseif b == "prime" then
  14.     rs.setOutput("top",true)
  15.     sleep(.05)
  16.     rs.setOutput("top",false)
  17.   end
  18. end
Add Comment
Please, Sign In to add comment