Welcome to Bigfix @4rt. Just to expand on @JasonWalker’s example, this is how you could use it within ActionScript
if{exists lines whose (it as string as boolean = True) of files "C:\TEMP\Output.txt"}
//do something
regset "[HKEY_LOCAL_MACHINE\Software\Bigfix\My]" "Something"="Yes"
else
//do something else
regset "[HKEY_LOCAL_MACHINE\Software\Bigfix\My]" "SomethingElse"="Yes"
endif