Advertisement
ApexdaUser

another opencomputers drone test that isn't mine

Apr 18th, 2021 (edited)
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. local d = component.proxy(component.list("drone")())
  2. local t = component.proxy(component.list("tunnel")())
  3. while true do
  4. local evt,_,sender,_,_,cmd,a,b,c = computer.pullSignal()
  5. if evt == "modem_message" then
  6. if cmd == "mov" then
  7. d.move(a,b,c)
  8. end
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement