Merge branch 'NoEvo'

This commit is contained in:
ChocoTaco1 2020-07-15 15:49:06 -04:00
commit 52622e2e92
9 changed files with 863 additions and 95 deletions

View file

@ -90,20 +90,23 @@ function ClassicChatLog(%client, %id, %team, %msg)
// Don't log voicepack stuff.
if(strstr(%msg, "~w") != -1 || strstr(%msg, "flag") != -1)
return;
%team = getTaggedString(Game.getTeamName(%team));
if(%team $= "Unassigned")
%team = "Observer";
else if($CurrentMissionType $= "LakRabbit" || $CurrentMissionType $= "DM")
%team = $dtStats::gtNameLong[%client.lgame]; //from zDarktigerStats.cs
switch$(%id)
{
case 0:
%team = "[Global]";
case 1:
%team = "[" @ %team @ "]";
if($countdownStarted)
%team = getTaggedString(Game.getTeamName(%team));
else
%team = "Debrief";
if(%team $= "Unassigned")
%team = "Observer";
else if($CurrentMissionType $= "LakRabbit" || $CurrentMissionType $= "DM")
%team = $dtStats::gtNameLong[%client.lgame]; //from zDarktigerStats.cs
%team = "[" @ %team @ "]";
case 2:
%team = "[Admin]";
case 3: