"What is your favorite color",
Button("red", accepts=["Red", "Dark orange"], payload="COLOR_RED") as btnred,
Button("blue", accepts=["Blue", "sky", "navy"], payload="COLOR_BLUE") as btnblue,
// for a valid choice, the user can either click on the button or
// manually type any of the accepted options for each button
do matched = event.match(btnred, btnblue)
// matched will contain the matched button object or Null
// in case it contains the button object
// we can prefer to remember its manually set payload
// instead of the button's title
if (matched) remember favcolor = matched.payload
// or continue the same way as before
else say "{{event}} is not a valid answer"