Skip to content

clientMessage

MicroBlaster edited this page Nov 10, 2019 · 2 revisions

Purpose: Broadcast a block of formatted text to all connected telnet terminals.

Syntax: clientMessage {value}

{value}: The message to display to all connected telnet terminals.

Notes: This command is a slightly bolder version of the 'Echo' command. It is useful for debugging or spitting out script messages. It is unfortunately not very tidy.

Example:

# don't run script without free cargo holds
if ($holds = 0)
  clientMessage "No free cargo holds!"
  halt
end

Clone this wiki locally