Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- rednet.open("right")
- id, msg, range = rednet.receive()
- --
- end
- local function CheckHere()
- local tLines = {}
- local file = io.open("Profiles", "r" )
- local sLine = file:read()
- while sLine do
- table.insert( tLines, sLine )
- sLine = file:read()
- end
- file:close()
- print (#tLines)
- b = 0
- cfile = fs.open("Profiles", "r" )
- while b < #tLines do
- cLine = cfile.readLine()
- if cLine == msg then
- print("yes")
- return "yeah"
- else
- print("no")
- end
- b = b+1
- end
- return "nope"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement