Add this to your userconfig.cfg file. If you don't have a userconfig.cfg then create one:
Code: Select all
alias hltvrcon "rcon_address YOUR-HLTV-SERVER-IP; rcon_port YOUR-HLTV-SERVER-PORT; rcon_password YOUR-RCON-PW"
alias hltvrec "hltvrcon; wait; rcon record hltv; wait; remotercon1"
alias hltvstop "hltvrcon; wait; rcon stoprecording; wait; remotercon1; echo Recording stopped"
alias remotercon1 "rcon_address YOUR-GAME-SERVER-IP; rcon_port YOUR-GAME-SERVER-PORT; rcon_password YOUR-RCON-PW"
alias remotercon "rcon_address YOUR-GAME-SERVER-IP; rcon_port YOUR-GAME-SERVER-PORT; rcon_password YOUR-RCON-PW; echo Logged into rcon"
Code: Select all
bind X hltvrec
bind Y hltvstop
bind Z remotercon
hltvrec will record HLTV demos to your FTP.
hltvstop stops them.
remotercon allows you to run rcon commands to your server remotely from Steam console, no matter what game or where you're at.