Answers for "computercraft start program with phone"

0

computercraft start program with phone

-- Phone
rednet.open("back")
rednet.send(id, "command")
sleep(3)
rednet.close("back")

-- Receiver
rednet.open("left")
id, msg = rednet.receive()
if msg == "command" then
	function()
	rednet.close("left")
end
Posted by: Guest on December-30-2020

Code answers related to "computercraft start program with phone"

Browse Popular Code Answers by Language