I am experimenting with Cvars.
Those are variables set in the server and or client.
List here: https://developer.valvesoftware.com/wiki/List_of_DOTA_2_Cvars
I want to export some of those via the say command but i am missing the syntax to do so.
For example:
say "My Hostport is :%s" %hostport
and
say "My Hostport is :" +hostport
does not work.
If there is a way with autoexec i would love to use that too.
Best Answer
The console in Source engine is very, very limited, and even more so in Dota 2.
The only 2 things you can do with a cvar are: print it to console and overwrite it.
What you want to do is impossible.