User guide
MTPSR2-201
103
Appendixes
Appendix C - Scripting
A script file can be used to automate certain operations. The script file is a text file containing a
sequence of the following commands (listed here according to their functions). This is similar to what
you will find in the Help file in your ProxyServer software. Following the list of commands is an
example script.
Script Commands (by Function)
Dial, Connection and Remote
BAUDRATE BREAK GETCTS
GETDCD HANGUP PARITY
RGETC RGETS RXFLUSH
SETDTR SETRTS STOPBITS
THISLAYERUP TRANSMIT TXFLUSH
WAITFOR ACTIVATEDOD
Mathematical functions
DEC INC
Miscellaneous
EXIT WAIT
Program constructs
FOR IF PROC
SWITCH WHILE
String operations
ATOI ITOA STRCAT
STRCMP STRCOPY STRFMT
STRLEN TOLOWER TOUPPER