// ---------------------------------------------------------------------------
// StatsMe 2.8.3 Config Pack [16 June, 2004]
// ---------------------------------------------------------------------------
// This file is part of StatsMe (See README for more information).
// Copyright 2002 - 2004 UnitedAdmins (www.unitedadmins.com)
// Project originally created by OLO (http://olo.counter-strike.pl)
// ---------------------------------------------------------------------------
// Please read the manual and the forums carefully before altering this file!
// The Manual is located at http://docs.unitedadmins.com/statsme/
// The Forum can be found at http://forums.unitedadmins.com/
// ---------------------------------------------------------------------------
// Kick players that attack teammates at round start 

sm_mode3 set ab

localinfo kicktime 20 // in sec.

sm_menu "Kick Dis. at RoundStart\\y\\R{sm_mode3&ab?ON:OFF}" "sm_mode3 {sm_mode3&ab?remove:set} ab"

sm_reg "SM_RoundStart ab 3" "{%.kdp={{gmtime}+{I.kicktime}}}sm_mode3 set a" bcde
sm_reg "TextMsg a 3" "{%.kdp<{gmtime}?sm_mode3 remove a\n}kick # {V3.uid}" bce "2=#Game_teammate_a"
