nanos world API Reference Unofficial documentation
Event Client

Chat.ChatEntry

Called when a new Chat Message is received, this is also triggered when new messages are sent programatically<br/><br/>This is useful for creating your own Chat interface while still use the built-in system

Syntax

Lua
Chat.Subscribe("ChatEntry", function(message, player)
    -- il tuo codice
end)

Arguments

Name Type Default Description
message string The message
player optional Player? The player who sent the message or <code>nil</code> if this was called on client side or was sent through code