VoidExpanse/scope-chat

From AtomicTorchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Scope chat

Used to control chat messages.

Visibility: Global.

List of functions

SendToAll
Arguments Returns Example
  • string: player_from
  • string: message

void

chat.SendToAll("dlirry", "Mwahahahaha");
Description

Sends message to all connected players.


SendToPlayer
Arguments Returns Example
  • string: player_to
  • (optional) string: player_from
  • string: message

void

chat.SendToPlayer("somePlayer", "dlirry", "Mwahahahaha");
chat.SendToPlayer("somePlayer", "Mwahahahaha");
Description

Sends message to specified player.