Exporting from variable to external text

Hello community!

I have a very specific project I'm working on and I'm trying to find the right engine to do it with.  I already own RPG Maker VX Ace and think it would be perfect, but the problem is that I need to be able to export in game text to an external file.

To give a simplified but specific example, the user would be presented with 10 questions.  Each of their questions are stored in variables.  At the end, a text file containing the answers (along with additional, pre-written text) is generated that can be opened and viewed outside of the game.

I've seen some scripts and such that will create premade text files, so I know the creation of the file is possible, but can anyone tell me/point me in the direction of if it's possible to bring in the user inputted information?

Also, is .txt files the only text output possible, or could I export to something like microsoft word?


thanks!

Original thread: https://forums.rpgmakerweb.com/threads/exporting-from-variable-to-external-text.69218/