Advertisement
Swimy

Chronos Labs: DoorController

Feb 1st, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. os.loadAPI('DoorUtil')
  2.  
  3. local modemLocation = 'top'
  4.  
  5. DoorUtil.resetPistons()
  6. DoorUtil.resetDoor()
  7.  
  8. rednet.host('DoorController', 'ReactorDoor')
  9. rednet.open(modemLocation)
  10.  
  11. while true do
  12.   id, msg = rednet.receive()
  13.   shell.run(msg)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement