Clearer Notes

This commit is contained in:
ChocoTaco 2021-09-16 14:31:42 -04:00
parent 877b77e65c
commit 1acfaa3a77

View file

@ -168,6 +168,7 @@ function teamkillLog(%victimID, %killerID)
//Killer tks / Victim tks
//Note: %killerID.teamkills + 1 as this is added later
//Tks For this map only
%ktk = %killerID.teamkills + 1;
%vtk = %victimID.teamkills;
@ -176,14 +177,14 @@ function teamkillLog(%victimID, %killerID)
if(!%killerID.isAdmin) //Admins dont get warnings
{
if(%ktk >= $Host::TKWarn1 && %ktk < $Host::TKWarn2)
%s = " [Warned] ";
%s = "[Warned] ";
else if(%ktk >= $Host::TKWarn2 && %ktk < $Host::TKMax)
%s = " [Warned 2] ";
%s = "[Warned 2] ";
else if(%ktk >= $Host::TKMax)
%s = " [Kicked] ";
%s = "[Kicked] ";
}
$teamkillLog = formatTimeString("M-d") SPC formatTimeString("[hh:nn:a]") @ %s @ %killerID.nameBase @ " (" @ %killerID.guid @ ")[" @ %ktk @ " tks] teamkilled" SPC %victimID.nameBase @ "[" @ %vtk @ " tks]. #P[" @ $HostGamePlayerCount @ "]" SPC "CM[" @ $CurrentMission @ "]";
$teamkillLog = formatTimeString("M-d") SPC formatTimeString("[hh:nn:a]") SPC %s @ %killerID.nameBase @ "(" @ %killerID.guid @ ")[" @ %ktk @ " tk] teamkilled" SPC %victimID.nameBase @ "[" @ %vtk @ " tk]. #P[" @ $HostGamePlayerCount @ "]" SPC "CM[" @ $CurrentMission @ "]";
$teamkillLog = stripChars($teamkillLog, "\c0\c1\c2\c3\c4\c5\c6\c7\c8\c9\x10\x11\co\cp");
%logpath = $Host::ClassicTeamKillLogPath;