Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("Running Authentification Server")
- sleep(2.5)
- while true do
- rednet.open("top")
- Cid,user = rednet.receive()
- Cid,Uid = rednet.receive()
- mastid = fs.open(disk.getMountPath("left").."/"..user,"r")
- if Uid == mastid.readLine() then
- rednet.send(Cid,"accepted")
- else
- rednet.send(Cid,"denied")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment