A practical example that transpiles a multi-line legacy script, including comments, variables, and a conditional statement with a nested action.