Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- peripheral.find("modem", rednet.open)
- function try200()
- for a = 1, 200 do
- local id = rednet.receive(nil, 5)
- if not id then
- printError("No message received")
- else
- print(("Computer %d requested to connect"):format(id))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement