Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chat=peripheral.wrap("left")
- while true do
- event, side, name, msg = os.pullEvent()
- if name == "justync7" and msg == "HAL, open the pod doors." then
- rs.setOutput("top",true)
- elseif name == "justync7" and msg == "HAL, close the pod doors." then
- rs.setOutput("top",false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement