Skip to content
MicroBlaster edited this page Jul 4, 2022 · 3 revisions

Purpose: Prints text to all connected telnet terminals.

Syntax: echoEx {[value] values...}

{[value] values...}: A series of values containing the text to be echoed.

Notes: The Echo command is the primary way of displaying text in connected clients without sending it to the server. Using this command, you can output data from your script, create menus, etc.

EchoEx will convert ascii menu boxes to CP437 drawing chars.

Example:

$msg := "*/---------------------\*"
$msg &= "|  Single Line Menu   |*"
$msg &= "| ------------------- |*"
$msg &= "| <1> Meow            |*"
$msg &= "| <2> Purr            |*"
$msg &= "\---------------------/**"
echoEx $msg

$msg := "*/=====================\*"
$msg &= "|  Double Line Menu   |*"
$msg &= "| =================== |*"
$msg &= "| <3> Hiss            |*"
$msg &= "| <4> Run             |*"
$msg &= "\=====================/**"
#echoEx $msg

image

Clone this wiki locally