OpenComputers Von Neumann Machine Programs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
374 B

local x = 1
local y = 1
local z = 1
local modem = component.proxy(component.list("modem")())
modem.open(20)
-- Just listen for modem messages and respond with it's location
while true do
local type, _, from, _, _, _ = computer.pullSignal("modem_message")
if type == "modem_message" then
modem.send(from, 20, x, y, z)
computer.beep(100)
end
end