Can you post a copy of the file that you produce?
Assuming it's a text or html file, it should be easy to have lua read the file, line by line, and see if it finds a search string you specified.
I think something like this should work:
Code:
filedirectory = "C:\\Program Files\\girder\\"
filename = "test.txt"
readfilename = filedirectory .. filename
fout = readfrom(readfilename)
if not fout then
print ("File does not exist.")
else
while 1 do
templine = read(fout)
if not templine then break end
if strfind (templine, 'your search terms') then
-- place the event you want to trigger here
-- like TriggerEvent('Myevent',18)
break
end
end
end
readfrom()
Chris