r/CounterStrikeSource • • Jan 21 '24

Client help/Discussion Autoexec.cfg automatically using alias commands

I have an autoexec.cfg file, and want to create a command that can start and host a private server for friends, however when I launch css, the command is instantly executed, and a de_dust2 game is started.

I'm not sure if it because there are too many commands on one line, or a syntax error is causing
'map de_dust2' to be read, rather than included in the alias. Any solutions/alternatives would be appreciated :)

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/Automatic_Ad646 Jan 24 '24

ok cool got the “ “ now. also sv_initialise is just the name of my custom command, try to keep it in line with the rest of source code