SRCDS Steam group


restart.cfg?
#1
i was wondering how can i make a .cfg file or any kind of file so i can enter in console seomthin like.

exec restart.cfg

and then have the files type in console seomthing like

Server rebooting... in 5
Server rebooting... in 4
Server rebooting... in 3
Server rebooting... in 2
Server rebooting... in 1
[Image: 461031727.png]

Reply
#2
Yes, it's possible..

Code:
alias "wait10" "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait"
alias "wait20" "wait10; wait10"

say "Server rebooting in... 5"
wait20; wait20; wait10;
say "Server rebooting in... 4"
wait20 ;wait20; wait10;
say "Server rebooting in... 3"
wait20; wait20; wait10;
say "Server rebooting in... 2"
wait20; wait20 ;wait10;
say "Server rebooting in... 1"
wait20; wait20; wait10;
say "Server is now rebooting"
_restart

Just insert that to a server.cfg. And then it will count down(you can set it up, so it will count slower/or faster).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)