UI.AddCheckbox("Enable chat mimic");
function chatmimic() {
if (!UI.GetValue("Enable chat mimic")) return;
text = Event.GetString("text");
userid = Event.GetInt("userid");
local = Entity.GetLocalPlayer();
if (local == userid) return;
if (text != "!rs" && text != "!кы" && text != "!Кы" && text != "!Rs") Cheat.ExecuteCommand("say " + text)
}
Global.RegisterCallback("player_say", "chatmimic")