It's not that easy, but you can do it.
Here is a tutorial for something very similar:
It even has an example map you can download and mess with.
The only difference is that you'll want to use a func_button
instead of the trigger_multiple
in the tutorial.