home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 10
/
CDE10.mdf
/
warbirds
/
wb95.z
/
SCRIPT.HLP
< prev
next >
Wrap
Text File
|
1996-01-28
|
2KB
|
45 lines
WarBirds Scripting
Scripts can contain one of several commands:
set
waitfor
send
Each command is followed by a ':' then its arguement. A
# at the beginning of a line signifies a comment. Each
line is ended with a ';'. The scripting has several built
in variables that are user definable.
The syntax for each command are as follows:
set:<variable name>=<value>;
The set command is used to set variables inside the script.
These values will override any values entered in the script
configuration dialog box. A variable can be set to a string
of at most 30 characters. The valid variables are:
phone : The phone number you want to dial.
user : The login ID for your Internet Provider.
password : The password for you Internet Provider login.
id : Your icigames.com login name.
idpass : Your icigames.com login password.
protocol : Unused at this time.
init : Init string for your modem.
cr : Carriage return value.
waitfor:<string>;
This command tells the script to wait for the characters
contained in <string> before executing the next command in
the script.
send:<string>;[CR;]
The send command sends the string specified across the COM
port. If you wish to send a Carriage Return after the string, simply
append 'CR;' to the end of the line. Should you want to send a
single carriage return and no string, simply send the cr variable.
To send a variable, prepend a '$' to the beginning of the variable
name, like this:
send:$phone;CR;