Adapting the language in @confirm

Not totally sure wether "@confirm" won't do when putting command objects together, I'd actually expect it to work. Maybe try with .SetModifier('confirm','Really?'); But you have another option, the "Confirm" scriptaddin I made some time ago, it's a replacement for the @confirm modifier and should work quite well in an if/elseif/elseif construct.
Confirm script addin: haage-partner.de/forum/view ... =45&t=4926

Download the demo-menu button in the thread linked above and see how it works in scripts, another little usage example is here:

You should be able to put something together like:

[code]if (Dopus.language == "english")
objCommand.AddLine('Confirm MSG="Really?"');
elseif (Dopus.language == "german")
objCommand.AddLine('Confirm MSG="Wirklich?"');
else
objCommand.AddLine('Confirm MSG="?"');

objCommand.AddLine("Copy MOVEWHENSAME");
objCommand.Run();
[/code]
Maybe it's worth telling some more details behind the localization need, maybe there's a better solution.