@jancsika I made a version of [dup] with another coding approach. It should work mostly the same, supports counting for [dup 22] and also supports short styles like [dup 5 15 2] or [dup 2 = 10].
There is actually a trick: As long as the first line is not a single number, it will just assume the first number to be "from", the second number "to" and the third number "step", regardless of other symbols. It assumes "<" or ">" as default, only if it detects a "=" it will add another step.