This:
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)
Has to be above this:
if ($vcmp.deathreason($4) == Drive-By) {
vcmp.adminchat ** Auto - Kick Player: $+ $chr(91) $vcmp.hgetname(%idk) $chr(93) Reason: $+ $chr(91) Drive - By $chr(93)
vcmp.kick2 %idk
vcmp.adminchat Admin-Auto-Kick Player:[ $vcmp.hgetname(%idk) ] Reason:[ Drive-By ]
}