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
|
||||
while true do
|
||||
local _, _, _, _, _, message = event.pull("modem_message")
|
||||
local date = os.dateRL("%x %X")
|
||||
print("[ "..date.." ]"..message)
|
||||
local log = "["..os.dateRL("%x %X").."]".." "..message
|
||||
print(log)
|
||||
local f = io.open("file.txt","w")
|
||||
f:write("file contents")
|
||||
f:close()
|
||||
tunnel.send("succes!")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue