Hello, and Welcome to the forums!
Unfortunately, there is no 'function' that performs the task, within operation flashpoint.
I don't claim to understand Kegetys' Fwatch program either, but I do know what it does. I assume you downloaded it, if not then the post where kegetys links to it is
here.
From the fwatch comref:
Write var=val to file fwatcher/mdb/name
Return value: -1 if failed, 1 if succeeded
example:
call loadFile format[":file write test.db %1 %2", "foo", 1]
File fwatcher/mdb/test.db would contain foo=1
So presumably you could say (I havent tried this feture yet)
call loadfile format[":file write info.txt %1 %2", "playerpos", getpos player]
And, of course the fwatch directory resides inside the operation flashpoint, so presumably you'll find your file inside there somewhere (this is untested).
No doubt someone will correct me if i'm wrong here, this was just a quick answer in passing