@Horstl, with your example i'm getting "* /if: insufficient parameters (line 2, script.mrc)"
Your code looks more usable as nomer2007 example is more limited for me but i'm gonna try to get it working