Andi is right. You have to do this by including a file with spectre syntax (which could use wildcards), and doing that via a stimulusFile or even a modelFile call in OCEAN.
You could always wrap this up in a function which wrote it out to a temporary file, and then set the stimulusFile to it? Something like:
fprintf(port "save %s:oppoint\n" device)
stimulusFile(?xlate nil tmpFile)
Then you could do:
Note - none of the above has been tested - it's just an idea.