Hi Marcel,
It looks like making it a root move did the trick! The script works okay now. I'm still getting a few remote errors, but they also occur occasionally when copying manually in conquest, and I'm guessing they are due to some peculiarities of the remote server.
As predicted, I do get a lua error:
*** lua syntax error [string "1"]:1: unexpected symbol near '1' in '1'
The error message pops up repeatedly after the initial dicommove command (once every 24 seconds in the log). Not a big deal, but I thought you might like to know.
Thank you for your assistance and continuing work on this fine program.