Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- write('Welcome to Door Opener by Netins! Please write output side:')
- a=read()
- rs.setOutput(a,true)
- while true do
- if rs.getInput('top')==true then
- rs.setOutput(a,false)
- sleep(3)
- rs.setOutput(a, true)
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement