VoidExpanse/scope-chat

From AtomicTorchWiki
Revision as of 09:40, 13 February 2014 by Damonwall (talk | contribs) (Created page with "<noinclude> Category:VoidExpanse/api_scopes </noinclude> = Scope chat = Used to control chat messages. '''Visibility:''' Global. == List of functions == {{Scripting_ap...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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
  • string: player_from
  • string: message

void

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

Sends message to specified player.


SendToPlayer
Arguments Returns Example
  • string: player_to
  • string: message

void

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

Sends message to specified player.