Well, this has proven to be a masturbatory experience. With kkrcon 2.11,
you can do a:
kkrcon.pl -a <serveraddress> -p <port> <password> listid | sed /User/d |
sed /permanent/d | sed 's/ min//g' | sed 's/ : / /g' | awk
'{for(i=NF;i>0;i--)printf "%s ",$i;print ""}' | sed 's/^/banid /g'
>tempbans.cfg
That in a shell script called by cron every few minutes, and 'exec
tempbans.cfg' in your autoexec.cfg, you have tempbans re-read back into
the server if it crashes/restarts. Nice, huh? EXCEPT, the listid gives the
ORIGINAL time for the temp ban, not the current time left on the ban. Doh!
"Insane" Husayn