Skip to content

nut.chat

Chessnut edited this page Dec 25, 2014 · 6 revisions

This library provides function to handle character chatting. This makes it easier to determine how a chat type is displayed, the range for the chat mode, and more.

Methods

  • nut.chat.register(string chatType, table data)
  • Purpose: Registers a new chat type using the ChatType structure.
  • nut.chat.send(player speaker, string chatType, string text)
  • Purpose: Sends a chat message using the provided chatType.

Structures

Clone this wiki locally