Skip to content
/SLASHPLAY

How to print text to the console in TF2

Type echo "autoexec loaded" in your game console, or put it at the end of a config, to print that text and confirm the file ran.

echo

Prints text to the console.

echo <text>

Examples

echo "autoexec loaded"

Confirm your config ran.

Arguments

textRequired
Text to print.

What it does

Used in scripts to show messages, for example confirming that a config loaded.

The game's own description: Echo text to console.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to tf/cfg/server.cfg. New to this? Start a TF2 server first.

Your own
TF2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.