Set variable value + arithmetic

Is it possible to use some arithmetic when setting variable using the @set modifier? I mean, if I have the following in a button's standard opus function:

@set start = {dlgstringS|Start numbering at|101}
rename PRESET="Add numbering" NUMBER {$start} BY 4

and let's say that I'd like to always start from eg. entered number + 1427? I've tried

@set start = {dlgstringS|Start numbering at|000101} + 1427
rename PRESET="Add numbering" NUMBER {$start} BY 4

but that does not seem to work. Is it possible to do this without having to rewrite the whole numbering + renaming stuff from scratch as a script function?

You need to use scripting for that kind of thing at the moment.

You can achieve this via advanced rename. No need to code it out.

I was afraid you were going to say that :frowning:

What do you mean @evernessince? How? Advanced Rename is a dialog, how could that help?