Jump to content

You can't access the CSGO console externally unless you're using C++ or C# and injecting into the CSGO process (can get you banned, as this is how cheats work)

 

If you need to just run some commands at game startup, you just need to make an autoexec.cfg: 

https://www.reddit.com/r/GlobalOffensive/comments/y7156/autoexeccfg_for_csgo/

idk

Link to comment
https://linustechtips.com/topic/615622-write-to-csgo-console/#findComment-7952307
Share on other sites

Link to post
Share on other sites

1 minute ago, Droidbot said:

You can't access the CSGO console externally unless you're using C++ or C# and injecting into the CSGO process (can get you banned, as this is how cheats work)

 

If you need to just run some commands at game startup, you just need to make an autoexec.cfg: 

https://www.reddit.com/r/GlobalOffensive/comments/y7156/autoexeccfg_for_csgo/

My goal is to make it automatically download song lyrics from a lyric website and play them over the chat without it interfering with the game. 

Link to comment
https://linustechtips.com/topic/615622-write-to-csgo-console/#findComment-7952317
Share on other sites

Link to post
Share on other sites

21 minutes ago, Nater said:

My goal is to make it automatically download song lyrics from a lyric website and play them over the chat without it interfering with the game. 

This is possible with .cfg files, just not with the 'automatically downloading' part. 

 

(in-game console) exec RickAstley.cfg 

(actual cfg)

alias w

alias wait10s "w;w;w;w;w;w;w;w;w;w" //csgo has no wait command built in so this is a ghetto fix

say "We're no strangers to love"

wait10s

say "You know the rules, and so-do-I"

wait10s

say "A full commitment's what I'm thinking of"

wait10s

say "You wouldn't get this from any other guy"

 

continue this from here if you want to

idk

Link to comment
https://linustechtips.com/topic/615622-write-to-csgo-console/#findComment-7952452
Share on other sites

Link to post
Share on other sites

Maybe you can make a program (simple nodejs script) that downloads the actual lyrics, parses them into cfg as mentioned by "Droidbot", name them like : "Author-song.cfg" and saves them into the CS:GO folder. Then you can just write into console "exec author-song.cfg". Like this you will have to manually write song author/name and execute it in the console, but you won't get banned since you are not injecting actual CS:GO process.  

Link to comment
https://linustechtips.com/topic/615622-write-to-csgo-console/#findComment-7954000
Share on other sites

Link to post
Share on other sites

14 hours ago, BlueX said:

Maybe you can make a program (simple nodejs script) that downloads the actual lyrics, parses them into cfg as mentioned by "Droidbot", name them like : "Author-song.cfg" and saves them into the CS:GO folder. Then you can just write into console "exec author-song.cfg". Like this you will have to manually write song author/name and execute it in the console, but you won't get banned since you are not injecting actual CS:GO process.  

 

Wait can't you make a hotkey that automatically runs the script?

 

SO I can just save it as like "song.cfg" and make a hotkey that plays song.cfg. Whenever you select a song it remakes song.cfg to the updated lyrics?

Link to comment
https://linustechtips.com/topic/615622-write-to-csgo-console/#findComment-7957510
Share on other sites

Link to post
Share on other sites

On 25/06/2016 at 11:48 AM, Nater said:

 

Wait can't you make a hotkey that automatically runs the script?

 

SO I can just save it as like "song.cfg" and make a hotkey that plays song.cfg. Whenever you select a song it remakes song.cfg to the updated lyrics?

bind <key> "exec song.cfg" should work

idk

Link to comment
https://linustechtips.com/topic/615622-write-to-csgo-console/#findComment-7971637
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×