User Login
Name
Password
Site Contents
News
About
Download
Scripts
Tutorials
Register
Support
FAQ
Script Reference
New User


Contact Me
Xide
Online Scripting Reference

echo

Purpose
Prints text to all connected telnet terminals.

Syntax
echo {values...}

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



Notes
This 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.

Example
# Get a product type using a menu

:GetProduct
echo "*" ANSI_15 "Select Product:" "**"
echo ANSI_11 "1 " ANSI_3 " - Fuel Ore*"
echo ANSI_11 "2 " ANSI_3 " - Organics*"
echo ANSI_11 "3 " ANSI_3 " - Equipment*"
getConsoleInput $Product SINGLEKEY

if ($Product <> 1) and ($Product <> 2) and ($Product <> 3)
  goto :GetProduct
end




Return to item listing