Advertisement
ApexdaUser

client for the other opencomputers drone test that isn't mine

Apr 18th, 2021 (edited)
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. local t = require("component").tunnel --or modem if thats what you use
  2. local event = require("event")
  3. function doDrone(dronename,dronecommand,arg1,arg2,arg3)
  4. t.send(dronename,dronecommand,arg1,arg2,arg3)
  5. _, _, _, _, _, name, command, respond1, respond2 = event.pull("modem_message")
  6. return {name, command, respond1, respond2}
  7. end
  8. doDrone("DAVE","mov",0,3,0) --this would make it move up there blocks!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement