Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open'bottom'
- table.foreach(rs.getSides(),function(i,v)
- redstone.setOutput(v,false) end)
- print(os.getComputerID())
- while true do
- local id,msg,prot=rednet.receive'door_signal'
- if msg=='open_door_2.5_close' then
- redstone.setOutput('top',true)
- sleep(2.5)
- redstone.setOutput('top',false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement