@nikitonsky Looks like pure nonsense to me, there's a mix of if/then of shell-like languages but also parens used like curly braces in C-like languages, -- as both comment and operator (as seen with: if j.name -- pM0ods then), …
And that chunk definitely should be a syntax error:
( for ) in 1. modifers do ( try