Update linkedGet.lua
This commit is contained in:
parent
97dcd6acfb
commit
b864d95f41
1 changed files with 5 additions and 2 deletions
|
@ -18,7 +18,10 @@ function os.dateRL(format)
|
||||||
end
|
end
|
||||||
while true do
|
while true do
|
||||||
local _, _, _, _, _, message = event.pull("modem_message")
|
local _, _, _, _, _, message = event.pull("modem_message")
|
||||||
local date = os.dateRL("%x %X")
|
local log = "["..os.dateRL("%x %X").."]".." "..message
|
||||||
print("[ "..date.." ]"..message)
|
print(log)
|
||||||
|
local f = io.open("file.txt","w")
|
||||||
|
f:write("file contents")
|
||||||
|
f:close()
|
||||||
tunnel.send("succes!")
|
tunnel.send("succes!")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue