Advertisement
Guest User

startup

a guest
Oct 24th, 2014
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. p = peripheral.wrap('biolock_0')
  2.  
  3. rs.setOutput("top", false)
  4.  
  5. while true do
  6.  
  7. event, code = os.pullEvent(biolock)
  8.  
  9. if code == "SKy0_m1UjK_XE706TUaMNn3fwIk43_N" then
  10. rs.setOutput("top", true)
  11. sleep(5)
  12. rs.setOutput("top", false)
  13. end
  14.  
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement