c0de 0.3.0This page in English

Diese Seite ist noch nicht übersetzt. Sie wird auf Englisch angezeigt.

SAY ​

Writes a message to the chat.

The message starts with the program name and PID. With player, only that player gets it; if they are not online, INVALID_ARGUMENT is raised. Otherwise all players near the trigger block get it (64 blocks by default).

Parameters and results

  • message STRING: the message
  • player STRING: the name of one player (optional, default empty for all players nearby)

Example

c0de
CALL c0de/minecraft/SAY
    PARAMETER message "The farm is full!" ;
    PARAMETER player "Alex" ;