print file=filename -> export the script content only, i need print the script result
/system script run scriptname -> it can not export the result to a file
has been solved with this command
{:local a [/system script get script1 source]; execute script=$a file=$fname1}