home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / PCE9972.ZIP / DOOR.DOC < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.5 KB  |  35 lines

  1.  
  2.  
  3.      To use doors in PcExpress you will need V0.9971 or later of PcExpress.
  4.      You will need the new config program and a door.
  5.  
  6.      The basic idea of a door operation in PcE is like follows.
  7.  
  8.      You add in the config program a door called HI and is located in
  9.      conference 0 (0 means all conferences) with atleast security level 20.
  10.  
  11.      In your BBS directory you make a file called HI.BAT wich will control
  12.      the door to be executed. The parameters passed by PcE is
  13.  
  14.      %1 is nodenumber
  15.      %2 is '/LOCAL' if the program is locally.
  16.  
  17.      You must then make a menu in each conference directory wich is supposed
  18.      to be named DOORxxx.Ayy where xxx is either seclvl or ALL and where yy
  19.      is either NS or SC.. This will be shown upon the command 'OPEN'.
  20.  
  21.      But when the user writes HI at the main prompt the board will first check
  22.      if there is a door named that way. If there isn't then it will check if
  23.      there is an internal command that is named that way if not then it will
  24.      write a not known command line.With this way of operation u can replace
  25.      the original commands in PcE with new own commands.
  26.  
  27.      if '%1'=='1' goto chat1
  28.      if '%1'=='2' goto chat2
  29.  
  30.      When using the string variables in a comparison, use the ' char as above,
  31.      Also you can use DOORWAY COM%1 ...etc..
  32.  
  33.      To get the specifications of PcE's dropfile then please get the latest
  34.      struct.xxx file wich contains the specifications of PcE data files.
  35.