Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Scan(file)
- settings.load("System/Files/SecuritySettings.txt")
- local BlackListed_Phrases = settings.get("Blocked_Phrases")
- local Doc = fs.open(file,"r")
- local Text = Doc.readAll()
- Pass = true
- for i = 1, #BlackListed_Phrases do
- if string.find(Text,BlackListed_Phrases[i]) == true then Pass = false end
- end
- return Pass
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement