Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input = fs.open("chatlog", "r")
- output = fs.open("filtered", "w")
- text = input.readLine()
- while text do
- if string.find(text, "KingCol13:") or string.find(text, "Brotbaer:") then
- print(text)
- output.write(text .. "/n")
- end
- text = input.readLine()
- end
- input.close()
- output.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement