const
ChatPrint messages to player chat (SayText2), with a caller-owned Chat.color prefix.
import { Chat } from "@s2script/sdk/chat";
Chat.toAll("[Vote] Result: " + winner);
Chat.toSlot(slot, "Usage:color: stringChat.color = ChatColors.Green from @s2script/cs2. "" = send raw
(CS2 needs a leading control byte for chat to render). A message may also embed its own colors.toSlot(slot: number, message: string): voidslot (0-based).toAll(message: string): void