try:
on *:SIGNAL:vcmp.event.kill:{
var %namek = $strip($vcmp.nickcolor($1)), %named = $strip($vcmp.nickcolor($3)), %idk = $vcmp.nameid(%namek), %idd = $vcmp.nameid(%named), %spawnkill = $vcmp.config.checkforspawnkill(%idd,%idk)
if ($vcmp.deathreason($4) == Drive-By) {
vcmp.adminchat ** Auto - Kick Player: $+ $chr(91) $vcmp.hgetname(%idk) $chr(93) Reason: $+ $chr(91) Driver - By $chr(93)
vcmp.kick2 %idk
}
vcmp.validweapon %idk $4
vcmp.killingspree.process %idk %idd
if ($vcmp.acct.exists(%namek) != 0) { vcmp.addkill %namek | vcmp.addweaponstat %namek $4 }
if ($vcmp.acct.exists(%named) != 0) vcmp.addkilled %named
if (%echolevel > 1) vcmp.echo 04** $vcmp.sajatnickcolor($1) 04killed $vcmp.sajatnickcolor($3) 4 $par($vcmp.deathreason($4))
if (($vcmp.isplayerspawned(%idk)) && (%spawnkill != $null)) vcmp.cmd.killplayer %idk Spawnkilling.
.signal vcmp.event.handledeath %idd