Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local d = component.proxy(component.list("drone")())
- local t = component.proxy(component.list("tunnel")())
- while true do
- local evt,_,sender,_,_,cmd,a,b,c = computer.pullSignal()
- if evt == "modem_message" then
- if cmd == "mov" then
- d.move(a,b,c)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement