Version 6.x

You can download and test preview jar here. Keep in mind it's a preview. The segment script modifiers is in a very early stage where they have to evaluate in the pass where they are first executed (meaning no forward referenced labels inside the modifier), if you want output you have to use .printnow, and the interaction with variables used in the normal passes is undefined.

Version 5.x