GlobalChatSendMsg
Sends a message to the current global chat channel.
MsgText — the text of the message to send.
The character must be in a chat channel (see GlobalChatJoinChannel) for the message to be delivered.
Отправляет сообщение в текущий канал глобального чата.
MsgText — текст отправляемого сообщения.
Персонаж должен находиться в чат-канале (см. GlobalChatJoinChannel), чтобы сообщение было доставлено.
procedure GlobalChatSendMsg(MsgText: String);
def GlobalChatSendMsg(MsgText: str) -> None: ...
begin
if GlobalChatActiveChannel <> '' then
GlobalChatSendMsg('Hello from Stealth!')
else
begin
GlobalChatJoinChannel('General');
Wait(500);
GlobalChatSendMsg('Hello from Stealth!');
end;
end.
if GlobalChatActiveChannel():
GlobalChatSendMsg('Hello from Stealth!')
else:
GlobalChatJoinChannel('General')
Wait(500)
GlobalChatSendMsg('Hello from Stealth!')
GlobalChatJoinChannel, GlobalChatLeaveChannel, GlobalChatActiveChannel, GlobalChatChannelsList