Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Usage: transmit [filename] Desc: sends a file to a drone for it to execute, requires custom drone eeprom
- component = require("component")
- m = component.modem
- args = {...}
- f = io.open(args[1])
- strFile = f.read("*a")
- f.close()
- m.broadcast(2412,strFile)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement