Echo: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Stub}}{{Console Command}}
Displays text to the console
Displays text to the console
==Syntax==  
==Syntax==  
Line 10: Line 11:


<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.
[[Category:Console Commands]]

Revision as of 15:03, 26 June 2023

Stub

This article or section is a stub. You can help by expanding it.

Template:Console Command

Displays text to the console

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.