Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modem = peripheral.wrap("back")
- while true do
- local meta = modules.getMetaOwner()
- local event, key = os.pullEvent()
- if event == "key" and key == keys.8 then
- modem.transmit(5, 7, "Open")
- sleep(0.2)
- else
- sleep(0.1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment