Echo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (extra detail) |
||
Line 1: | Line 1: | ||
{{Stub}}{{Console command}} | {{Stub}}{{Console command}} | ||
The '''echo''' command is a command avaliable in {{goldsrc|4}} and {{source|4}}. It's main purpose is to output text into the console window. This command proves to be very useful for debugging purposes. | |||
==Syntax== | ==Syntax== | ||
echo <text> | echo <text> |
Revision as of 04:15, 23 July 2023
The echo command is a command avaliable in GoldSrc and
Source. It's main purpose is to output text into the console window. This command proves to be very useful for debugging purposes.
Syntax
echo <text>
Examples
echo Hello world
Special use
When appended to a key bound to a + statement (but only directly), the key code will be appended
bind shift “+duck; echo key :”
key : 79
will be seen in the console twice; once on press, once on release.