EasyManua.ls Logo

Ericsson MC 218 - Script Commands

Ericsson MC 218
113 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
84
13.2.4 Password protecting names
You may want to protect confidential information stored as a name by giving the names file a
password. To do this:
1. Select ‘Password’ on the ‘Names’ menu, then enter and confirm your password.
2. Select ‘Save names’ on the ‘Names’ menu. You will now have to enter the password to
access the ‘Names’ dialog.
To clear a password: select ‘Password’, enter the current password, then enter a “zero-
length” password in the ‘Set password’ dialog.
Note: You can still run scripts that use names without entering the password. If you want to be
prompted every time a script that uses password protected names runs, use the LOADNAMES
command. E.g.
LOADNAMES “C:\BBSstuff\Comms.nam”
SEND init$ & phone$
will prompt for a password if the file being loaded is password-protected.
13.2.5 Variables
A variable is a name which can be used to store and represent different information. E.g.
username$ could be used to represent the information “Anton”, “Sam” or “5” etc, depending on
what has been stored under that name. There are two types of variables in the scripting language:
Non-persistent variables: these have no $ after them, e.g. “phoneno”. Information
stored in this kind of variable is lost when the script stops running.
Persistent variables: these are followed by a $. Information stored in this kind of
variable can still be edited and saved once the script has stopped running, using the ‘Set up
names’ and ‘Save names as’ commands on the ‘Names’ menu.
13.3 Script commands
This section provides a summary of the script commands according to type, followed by a detailed
glossary of commands and their usage.
13.3.1 Summary of the script commands
13.3.1.1Port and handshaking control
CONNECT
HANGUP
LINE
REPLY
RESET
SETUP
13.3.1.2 Sending and testing for character strings
SEND
SENDBREAK
SENDWAIT
WAIT
13.3.1.3 String operations
&
ASC
COLLATE
FOLD
LEFT

Other manuals for Ericsson MC 218