The result:

You can use a different separator by placing it after the ] and before the percent. Comma is the default. So you can use “#KMSEP#” as the separator in the script (instead of “,”), and then use %Variable%zzzParameter[1]#KMSEP#% in the action.