You could also whip up a small Admin Mod script to do this. Just setup a timer to check every x minutes for zero players, and if its zero do something :)
Prodigy wrote:
Query the server from the local server, if users == 0 then execute rcon command on the server to exec server.cfg Easy solution, install halfd, this way you can easily send arguments from the command line (halfd -g cstrike -d /path/to/hlds exec server.cfg) OR Grab kkrcon and use that to execute a command. Either way you'll need a little scripting and data parsing ability. Perl is your friend. Cheers, James ----- Original Message ----- From: "Jon Dingman" To: Sent: Saturday, November 16, 2002 6:40 PM Subject: [hlds_linux] file execusion >Is there a way to have the server execute a file when there are zero >users on the server, such that there is a match, and variables are >changed, but the admin of the match forgets to exec server.cfg, so that >the server exec's server.cfg which changes all the variables back, when >here are zero users on the server, I was just wondering if there was an >ez solution to this, and I didn't want to set the timelimit lower >because when cal.cfg is loaded it has to be 999min to show it hasn't >been tampered with and that it is the correct cal.cfg. > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, please visit: >http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

