init
This commit is contained in:
commit
12ffbdc45d
76 changed files with 79368 additions and 0 deletions
13
computer/4/copyfile.lua
Normal file
13
computer/4/copyfile.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
file = fs.open("tobuild","w")
|
||||
while true do
|
||||
id,message = rednet.receive()
|
||||
if id == 3 then
|
||||
if message=="done" then
|
||||
file.close()
|
||||
return
|
||||
else
|
||||
print(message)
|
||||
file.writeLine(message)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue