How do I make the game display the username of someone who pressed a button?

Zeus

Not a Krusty Krab
aa
Oct 15, 2014
1,345
554
You might be able to do stuff with !activator, but im not sure how you get the client name from that.
 

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,339
994
There is no way to obtain a player's username using map logic exclusively. This is the sort of thing that would only be possible with a sourcemod plugin, sadly.