]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Team chat is now cyan
authorz411 <z411@omaera.org>
Tue, 20 Oct 2020 18:50:29 +0000 (15:50 -0300)
committerz411 <z411@omaera.org>
Tue, 20 Oct 2020 18:50:29 +0000 (15:50 -0300)
qcsrc/server/chat.qc

index beac6e263183c959b15862b53a9cfe83d61e415c..bf3e600f7a65755599ac0ea4946c8099530f0ab6 100644 (file)
@@ -111,11 +111,11 @@ int Say(entity source, int teamsay, entity privatesay, string msgin, bool floodc
                                //msgin = strreplace("/me", "", msgin);
                                //msgin = substring(msgin, 3, strlen(msgin));
                                //msgin = strreplace("/me", strcat(colorstr, "(", colorprefix, namestr, colorstr, ")^7"), msgin);
-                               msgstr = strcat("\{1}\{13}^4* ", "^7", msgin);
+                               msgstr = strcat("\{1}\{13}^4* ", "^5", msgin);
                        }
                        else
-                               msgstr = strcat("\{1}\{13}", colorstr, "(", colorprefix, namestr, colorstr, ") ^7", msgin);
-                       cmsgstr = strcat(colorstr, "(", colorprefix, namestr, colorstr, ")\n^7", msgin);
+                               msgstr = strcat("\{1}\{13}", colorstr, "(Team) ", namestr, colorstr, ": ^5", msgin);
+                       cmsgstr = strcat(colorstr, "(", colorprefix, namestr, colorstr, ")\n^5", msgin);
                }
                else
                {