Posted 14 June 2012 - 12:57 AM
Im trying to send a message with rednet.
the basic functionality is so it can be logged on a serverside computer.
Client sending script:
its supposed to send the info on what he did plus his "name"
so for example on the server log it would show
Server logger:
the basic functionality is so it can be logged on a serverside computer.
Client sending script:
name = fs.exists("log1") -- asks if this file exists
rednet.send(87,..name.."Logged Off")
its supposed to send the info on what he did plus his "name"
so for example on the server log it would show
Server logger:
local time = os.time()
time = textutils.formatTime(time,true)
rednet.open("back")
id, m = rednet.receive()
print(" "..m.." On Computer: " ..id.." {"..time.."}")
sleep(1)
shell.run("log") ---( repeats this script again)--