Echo: Difference between revisions
Jump to navigation
Jump to search
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{goldsrc → {{gldsrc) |
m (Replacing {{console command}}. This operation was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{Stub}}{{ | {{Stub}}{{this is a|console command|name=echo}} | ||
{{Code|echo}} is a console command avaliable in {{gldsrc|4}} and {{source|4}} titles that is used to print text into the console window. When used in tandem with scripts, the {{code|echo}} command can prove to be very useful in cases where you will need to debug problems. | {{Code|echo}} is a console command avaliable in {{gldsrc|4}} and {{source|4}} titles that is used to print text into the console window. When used in tandem with scripts, the {{code|echo}} command can prove to be very useful in cases where you will need to debug problems. | ||
==Syntax== | ==Syntax== |
Revision as of 18:00, 7 January 2024
echo
is a console command available in all Source games.
echo is a console command avaliable in GoldSrc and
Source titles that is used to print text into the console window. When used in tandem with scripts, the echo command can prove to be very useful in cases where you will need to debug problems.
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.