How to 'aim' a console command?

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
Hi

I am currently building an achievement map to replace an older version on a server I admin on. Because we get a lot of non-English players who join and don't understand our server rules, I am making a translation room.

The idea I have is to have various flags on the walls of a room set so that when a player presses, touches or uses that flag, a message is sent to them via the a server command. However I don't want this message to get spammed to everyone, only the player who triggered it, but I don't know to do this.

Does anyone know I could set this so that it only sends the message to the players I want? If it helps, the server command I am using at the moment is (english version) sm_pmsay @aim "This is an English Server, please speak English here."

Would it possible and if so how, to set this command to a func_button with a server command output but change the @aim so that it targets the player who pressed the button?
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
AFAIK no; if you're displaying an entity-based message in TF2 it's either to no-one or everyone.