If you have ever played on a friendly-fire enabled server, you know how
frustrating it is to get shot or killed at the beginning of a round.  It
seems that all n00bs joining the server automatically empty their first
clip into someone to see if FF is on, to be annoying, or even for no
discernable reason.

The spawndamage plugin will automatically slay any user who teamdamages
within a few seconds (customizable) of the round.  After a few rounds of
being slain quickly, efficiently, and without fuss, they will either 
refrain from shooting teammates, or leave. 

IMPORTANT NOTE:  This plugin requires LogD to run properly.
(http://logd.sourceforge.net/)

The commands follow.  All parameters are shown in angle brackets <>

  admin_setsdtime <time> - enable spawndamage detection for <time> seconds
                           after the buy time (if any) has ended

The default time is five seconds.  On some maps, this is a bit too long,
and users can get slain for shooting a teammate in the first rushed 
firefight.  If this turns out to be the case, just add an admin_setsdtime
command to that map's config file (cstrike/<mapname>.cfg).

I have tweaked it a bit so that tiny amounts of damage from friendly
grenades will only trigger a warning, and not slay the user.  That way,
suppressive grenades at the beginning of a round won't trigger the slay 
unless they do significant damage to a teammate as well.  Grenades in spawn,
however, will certainly do enough damage to cause a trigger.

For the latest version of this plugin, check the ASY clan website at:
http://elmer.ices.cmu.edu/cstrike/links/
If you find bugs, or have other feedback, you can contact me at:
sirdodger@collegeclub.com

I would like to thank GIJoe and Sank, whose original versions of this plugin
I shamelessly borrowed and modified.  There are probably countless other 
people who contributed to the original plugins who I would also like to 
thank.  Feel free to steal and modify this plugin as you see fit (though if
you do anything cool with it, I'd love to hear about it!).  If there are 
any complaints or bugs, let me know, and I'll try to help out.

-SD