From fffc9fd23e65ebf52b279e60ba22ca32b0294d8d Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Sat, 2 Oct 2021 14:00:08 -0400 Subject: [PATCH] Show tks Votelog --- Classic/scripts/autoexec/EnableLogs.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classic/scripts/autoexec/EnableLogs.cs b/Classic/scripts/autoexec/EnableLogs.cs index 670e275..9587726 100755 --- a/Classic/scripts/autoexec/EnableLogs.cs +++ b/Classic/scripts/autoexec/EnableLogs.cs @@ -76,7 +76,7 @@ function voteLog(%client, %typeName, %arg1, %arg2, %arg3, %arg4) // show name for Votekick if(%typeName $= "VoteKickPlayer") - %arg1 = %arg1.nameBase; + %arg1 = %arg1.nameBase @ "[" @ %arg1.teamkills + 1 @ "tks]"; // this is the info that will be logged $VoteLog = "#P[" @ $HostGamePlayerCount @ "]" SPC formatTimeString("M-d") SPC formatTimeString("[hh:nn:a]") SPC %client.nameBase @ " (" @ getField(%authInfo, 0) @ "," SPC %client.guid @ ") Initiated a vote:" SPC %typeName SPC %arg1 SPC %arg2 SPC %arg3 SPC %arg4 SPC "CM[" @ $CurrentMission @ "]";