home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 2.5 / 1996-06_Disc_2.5.iso / ici / wb95.z / SCRIPT.HLP < prev    next >
Text File  |  1996-01-28  |  2KB  |  45 lines

  1.  
  2.  WarBirds Scripting
  3.  
  4.  Scripts can contain one of several commands:
  5.     set
  6.     waitfor
  7.     send
  8.  Each command is followed by a ':' then its arguement. A
  9.  # at the beginning of a line signifies a comment.  Each
  10.  line is ended with a ';'.  The scripting has several built
  11.  in variables that are user definable.
  12.  
  13.  The syntax for each command are as follows:
  14.  
  15.  set:<variable name>=<value>;
  16.     The set command is used to set variables inside the script.
  17.  These values will override any values entered in the script
  18.  configuration dialog box.  A variable can be set to a string
  19.  of at most 30 characters.  The valid variables are:
  20.     phone    :  The phone number you want to dial.
  21.    user     :  The login ID for your Internet Provider.
  22.     password :    The password for you Internet Provider login.
  23.      id       :  Your icigames.com login name.
  24.     idpass   :  Your icigames.com login password.    
  25.     protocol :  Unused at this time.
  26.     init        :     Init string for your modem.
  27.     cr            :  Carriage return value.
  28.  
  29.  waitfor:<string>;
  30.     This command tells the script to wait for the characters 
  31.  contained in <string> before executing the next command in
  32.  the script.
  33.  
  34.  send:<string>;[CR;]
  35.     The send command sends the string specified across the COM
  36.  port.  If you wish to send a Carriage Return after the string, simply 
  37.  append 'CR;' to the end of the line.  Should you want to send a 
  38.  single carriage return and no string, simply send the cr variable.
  39.  To send a variable, prepend a '$' to the beginning of the variable
  40.  name, like this:
  41.     send:$phone;CR;
  42.  
  43.  
  44.  
  45.