Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.find("modem")
- modem.open(8972)
- local termArgs = {...} --Dist to go
- function BootupRight()
- local comp = peripheral.wrap("right")
- comp.turnOn()
- end
- local wait = true
- while wait do
- local event, side, channel, replyChannel, message, distance = os.pullEvent("modem_message")
- if message == "FINBOOT" then
- os.sleep(0.5)
- modem.transmit(8972, 8972, "no args set up")
- os.sleep(1)
- modem.transmit(8972, 8972, ("MF "..termArgs[1]))
- end
- end
Add Comment
Please, Sign In to add comment