//////put this into autoexec.cfg or a seperate .cfg (replace [command] with anything you wish
//////put this into console (replace [key] with the key to bind and [command] with your command)
////// put this into autoexec.cfg if you placed the alias [command] into a seperate .cfg (replace [file] with the name of the .cfg)
It's a relatively simple and straightfoward script.
the first part of the script creates the command, the second part binds it to a key, you can use any name you would like for the command but im going to call it "cssc"
alias cssc "clear;status;condump"
that will clear console, get steam ids, then save them to condump000.txt in your cstrike folder. each save after that will increase it by 1, ex. 001,002,003,004...034... etc.
This first part you can either:
(A) put into your autoexec.cfg file (found in c:\program files\steam\steamapps\[your steam name]\cstrike\cfg) using a text editor
(B) put it into a text file and save that as [filename].cfg and then put "exec [filename]" into autexec.cfg
note: if autoexec.cfg doesn't exist simply create a text file and save it as autoexec.cfg
lastly, you just have to bind your command to a key, since i named my command "cssc" im going to bind that to a key (do this in game using the console)
bind [key] cssc
now whenever you press [key] yur console will be cleared, steam ids taken, and then saved int o a text file. great for grabbing steam ids quickly if your server has been hacked or if you dont have the ability to kick/ban and dont want to copy/paste and then save to txt file
the script code is done with cssc, but wherever you see that you can replace it with your command name