Suggested process for handling variable number of parameters for a custom block

What about?
Untitled script pic (65)
Untitled script pic (66)