Tot ! Chat
This library will not function if your server doesn't have the Tot ! Chat mod installed.
Alert
function
Syntax:
lua
void TotChat.Alert( string message )
Broadcast
function
Syntax:
lua
void TotChat.Broadcast( 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 )