Snippet "Festive greeting randomizer"

Festive season's greeting personalized randomizer

{choice={random-number: min=1; max={=count(greetings)}; rounded=yes}}
{greetings=[
"Best wishes for the festive season <name> :-)", 
"Hey <name>, wish you all the best for the festive season!", 
"Wishing you a new year full of joy and health <name> <3"
]}
{formtext: name=name; default=dear friend}
{=replace(greetings[choice], "<name>", name)}