In L4D2, how to print text in chat panel privately for yourself to see?

Solution 1:

Those modded servers use SourceMod to create new game elements and modify existing elements. That type of menu is a simple VGUI element, not something created using the game's built-in chat system.

VGUI elements such as that menu are created by writing C++ code to several user-created files (both the game itself and SourceMod are created mostly/completely with C++). Therefore, to create a menu like this you'll need to know or at least understand how to code in C++. There are a lot of great tutorials out there on how to make custom menus. For example, one using Valve's built-in VGUI system and one using the simplified SourceMod VGUI system.

Now, I've been using SourceMod as an example because it provides simplicity, but since that is made to modify servers and you want a menu for yourself only, you'll have to rely on tutorials involving Valve's built-in system.

So to answer your question in the picture, you can't use just console commands and keybinds to create this kind of menu. You'll need those to activate your menu, but you can't create the menu with them.