There should be a way of outputting variables to a text file, but i couldn't get it to work.
Only tried once though
Take a look in the command reference, i think the commands you are looking for are something like
debug
valueor
log
valuewhere
value is the variable you want to output.
If i remember rightly, i think with the log command, you also have to specify a filename. Take a look in the com. ref., it'll be a lot clearer than my ramblings :hmm:
Marksman