mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-02-26 09:23:36 +00:00
Merge branch 'NoEvo'
This commit is contained in:
commit
52622e2e92
9 changed files with 863 additions and 95 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue