Echo: Difference between revisions
Jump to navigation
Jump to search
m (Replacing {{console command}}. This operation was performed by a bot.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{this is a|console command | |||
|name = echo | |||
|engine = GoldSrc | |||
|engine1 = Source | |||
|engine2 = Source 2 | |||
}} | |||
It 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== | ||
echo <text> | echo <text> | ||
Line 11: | Line 17: | ||
<code>key : 79</code> will be seen in the console twice; once on press, once on release. | <code>key : 79</code> will be seen in the console twice; once on press, once on release. | ||
{{stub}} |
Revision as of 18:23, 9 February 2024
echo
is a console command available in all GoldSrc,
Source, and
Source 2 games.[[Category:GoldSrc base console command
s|Echo]][[Category:Source base console command s|Echo]][[Category:Source 2 base console command s|Echo]]
It 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.