Skip to content

Tot ! Chat Legacy ​

This library will not function if your server doesn't have the Tot ! Chat mod installed.

WARNING

The functions outlined on this page will only function on Conan Exiles Legacy.

For Enhanced version, see Tot ! Chat V2.

Alert function ​

Syntax:

lua
void TotChat.Alert( string message )

Broadcast function ​

Syntax:

lua
void TotChat.Broadcast( string message )

BroadcastMessage function ​

Syntax:

lua
void TotChat.BroadcastMessage( string emitterName, int channelId, table<string> tags, string language, string message )

BroadcastMessageInRadius function ​

Syntax:

lua
void TotChat.BroadcastMessageInRadius( Vector location, float radius, string emitterName, table<string> tags, string language, string message )

SendLocal function ​

Syntax:

lua
void TotChat.SendLocal( Character player, string message [, float distance = 10 ] )

SendMessage function ​

Use this function if you want full control over the channels and chat tags.

This message will be displayed as sent by the specified player.

Refer to Tot ! Chat API docs for more details.

Syntax:

lua
void TotChat.SendMessage( Character player, string emitterName, int channelId, table<string> tags, string language, string message, float distance )

ReceiveMessage function ​

Use this function if you want full control over the channels and chat tags.

This message will be displayed only to the specified player.

Refer to Tot ! Chat API docs for more details.

Syntax:

lua
void TotChat.ReceiveMessage( Character player, string emitterName, int channelId, table<string> tags, string language, string message, float distance )

Notify function ​

Syntax:

lua
void TotChat.Notify( Character player, string message )

NotifyLocal function ​

Syntax:

lua
void TotChat.NotifyLocal( Character player, string message )

Warn function ​

Syntax:

lua
void TotChat.Warn( Character player, string message )

GetLanguages function ​

Returns a table of known languages (key being language name and value being its knowledge value).

Syntax:

lua
table TotChat.GetLanguages( Character player )

SetLanguage function ​

Syntax:

lua
void TotChat.SetLanguage( Character player, string language, float knowledge )

RemoveLanguage function ​

Syntax:

lua
void TotChat.RemoveLanguage( Character player, string language )