Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI('DoorUtil')
- local modemLocation = 'top'
- DoorUtil.resetPistons()
- DoorUtil.resetDoor()
- rednet.host('DoorController', 'ReactorDoor')
- rednet.open(modemLocation)
- while true do
- id, msg = rednet.receive()
- shell.run(msg)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement