home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 167.lha / Player / Startup.Play < prev    next >
Text File  |  1988-04-28  |  523b  |  22 lines

  1. /* Example Startup.Player script */
  2.  
  3. /* This capability isn't really very useful yet, but it will be once I
  4.    get the user-defined menu stuff implemented.  The following
  5.    not-very-useful example causes any characters who are loaded via the
  6.    command line arguments to have the select window opened in their lower
  7.    right corner. */
  8.  
  9. options results
  10.  
  11. 'lock'
  12. 'get nchars'
  13. nc = result
  14. if nc>0 then do
  15.   do i=1 to nc
  16.     'select slot' i
  17.     'window select open 640 400'
  18.   end i
  19.   if nc>1 then 'select slot 1'
  20. end
  21. 'unlock'
  22.