in reply to print the values of the selected check buttons

What does the documentation say?

What do the examples say?

What is @Buttons used for?

What does  push( my @Values, do? What is inside of @Values? What is @Values used for? What is the purpose of the my?

What are is inside of  @Selected;?

If you can answer these questions you can have your answer