Advertisement
Guest User

startup

a guest
Sep 15th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. peripheral.call('right', 'turnOn')
  2. peripheral.call('right', 'reboot')
  3. rednet.open('top')
  4. ord = '1'
  5. while true do
  6.     abc, mes = rednet.receive()
  7.     if mes == ord then
  8.         rs.setOutput('back', true)
  9.         sleep(0.1)
  10.         rs.setOutput('back', false)
  11.         sleep(0.1)
  12.     end
  13.     sleep(0.0001)
  14.  
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement