home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / FM_3103G.ZIP / TEMPLATE.ZIP / TEMPLATE.DOC
Encoding:
Text File  |  1992-12-16  |  4.4 KB  |  126 lines

  1. --------------------------------------------------------------------------
  2. FileMgr template keywords
  3. --------------------------------------------------------------------------
  4.  
  5. @filename       ; full filename 'SAMPLE.ARJ'
  6. @fileext        ; file extension 'ARJ'
  7. @filesize       ; file size
  8. @filecrc        ; file CRC
  9. @filedesc       ; file description
  10. @fileorigin     ; file origin address
  11. @filefrom       ; file from address
  12. @filepath       ; file path (systems)
  13. @fileexport     ; number of system file is forwarded to
  14. @filerepl       ; file wich is replaced by the announced file
  15. @filemagic      ; files 'magic' request name
  16.  
  17. @areatag        ; area tag 'SAMPLE'
  18. @areaname       ; area name 'Sample file areaname'
  19.  
  20. @grouptag       ; group tag 'A'
  21. @groupname      ; group name 'Another group description'
  22.  
  23. @sysop          ; sysop full name 'Erick Van.Emmerik'
  24. @sysopfirst     ; sysop first name 'Erick'
  25. @system         ; system name 'CrossRoads'
  26. @aka            ; active system address '2:281/611'
  27.  
  28. @msgto          ; message 'to' field 'All users'
  29. @msgfirst       ; first part of message 'to' field 'All'
  30. @quote          ; 'quote of the day'. Needs a textfile with quotes (define
  31.                 ; in FMSETUP).
  32. @fsearch        ; search argument (only valid for FileFind replies)
  33.  
  34. @hour           ; hours
  35. @min            ; minutes
  36. @sec            ; seconds
  37.  
  38. @dd             ; day '10'
  39. @d3             ; day 'Thu'
  40. @day            ; day 'Thursday'
  41. @mm             ; month '09'
  42. @m3             ; month 'Sep'
  43. @month          ; month 'September'
  44. @yy             ; year '92'
  45. @y4             ; year '1992'
  46. @dnr            ; daynumber
  47.  
  48. @program        ; Current filemgr program version 'FileMgr BETA'
  49.  
  50. @blockcount     ; Number of files in the last block
  51. @blocksize      ; Total size (in bytes) of files in the last block
  52. @blockkb        ; Total size (in Kb) of files in the last block
  53.  
  54. @totalcount     ; Number of files in this announcement
  55. @totalsize      ; Total size (in bytes) of files in this announcement
  56. @totalkb        ; Total size (in Kb) of files in this announcement
  57.  
  58. --------------------------------------------------------------------------
  59. FileMgr template formatting commands
  60. --------------------------------------------------------------------------
  61. To modify the way FileMgr treats these keywords, use the following syntax:
  62.  
  63. @(<command>[,<command])<keyword>
  64.  
  65. Currently, the following commands are supported (suggestions are welcome):
  66.  
  67. <len>       Force lenght to be <length>
  68.  
  69.             @(5)program         'FileM'
  70.             @(15)filename       '12345678.123   '
  71.  
  72. <fr>:<len>  Start at pos <fr>, and force length to be <len>
  73.  
  74.             @(2:5)program       'ileMg'
  75.             @(2,15)filename     '2345678.123    '
  76.  
  77. U           Force uppercase
  78.  
  79.             @(U)program         'FILEMGR BETA'
  80.             @(U)filename        '12345678.123'
  81.  
  82. L           Force lowercase
  83.  
  84.             @(L)program         'filemgr beta'
  85.             @(L)program         '12345678.123'
  86.  
  87. ~           Just try it (in ENET.SOFT for example :-)
  88.  
  89. @<char>     Pad with <char>. Is only valid with <len> or <fr:len>
  90.             This one defaults to <space>
  91.  
  92.             @(@-,15)program     'FileMgr BETA---'
  93.             @(@*,15)filename    '12345678.123***'
  94.  
  95. R           Right justification. Only usefull when used with <len> or
  96.             <fr>:<len>.
  97.  
  98.             @(R,15)program      '   FileMgr BETA'
  99.             @(R,15)filename     '   12345678.123'
  100.  
  101.             Using the @<char> command
  102.  
  103.             @(R,@-,15)program   '---FileMgr BETA'
  104.             @(R,@*,15)filename  '***12345678.123'
  105.  
  106. C           Center justification. Only usefull when used with <len> or
  107.             <fr>:<len>.
  108.  
  109.             @(C,16)program      '  FileMgr BETA  '
  110.             @(C,16)filename     '  12345678.123  '
  111.  
  112.             Using the @<char> command
  113.  
  114.             @(C,@-,16)program   '--FileMgr BETA--'
  115.             @(C,@*,16)filename  '**12345678.123**'
  116.  
  117. --------------------------------------------------------------------------
  118. Some more examples
  119. --------------------------------------------------------------------------
  120. @(R,@0,2)dd-@(R,@0,2)mm-@(2)yy      '11-03-92'
  121. --@(R,@-,15)areatag----             '---------PDNPASCL----'
  122. FileMgr version @(4:4)filename      'FileMgr version 1103'
  123. @(@0,R,7)filesize                   '0126482'
  124. @(R,7)filesize                      ' 126482'
  125. --------------------------------------------------------------------------
  126.