VoidExpanse/scope-chat

From AtomicTorchWiki
Jump to: navigation, search


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.