home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / ACD-SM10.ZIP / STATMAST.DOC < prev    next >
Text File  |  1994-11-17  |  3KB  |  55 lines

  1.  
  2.  
  3.                       Stat-Master version 1.0 by Killean
  4.  
  5.   I am surprised that know one has writen something like this before, but it
  6. is really useful, especially for sysops who care about having nice-looking
  7. stat screens or any screens for their BBS that contains MCI codes.  Normally,
  8. if you want your ansis to come out looking half-way decent without having text
  9. pushed out of the way when information replaces MCI, you have to draw your
  10. ansi and then go back under ansimation and put the codes in there respective
  11. places in the ansi.  Unfortunately, if a user aborts halfway through the ansi,
  12. none of the infomation is seen since its not put in there till the very end.
  13.  
  14.   Well, there's an easy way to circumvent this slight problem, so I wrote
  15. this util to procure that 'on the fly' stat screen look.  All you have to do
  16. is use a text editor and for each MCI do this:
  17.  
  18.      4H %UN C                 <--  usual method, everything after MCI
  19.                                             gets pushed to the side
  20.      4H s%UNuC C       <--  now, the cursor position is saved,
  21.                                             MCI gets replaced, cursor position
  22.                                             is restored, and then moved to the
  23.                                             right 3 spots to allow for the
  24.                                             original MCI length.
  25.  
  26.   Pretty easy concept, but just a pain in the ass to implement normally,
  27. especially if you have like 20 MCIs in your ansi.
  28.  
  29.  
  30.   Now for the commandline:
  31.  
  32. STATMAST <filemask> <MCI code> <MCI length> <buffer length>
  33.  
  34.  
  35. <filemask>   - this is for which files you would like to convert.  Files are
  36.                not over-writen, but renamed as '*.!' instead.
  37.  
  38. <MCI code>   - just the first letter for all the MCI codes to be converted.
  39.                i.e. '%'
  40.  
  41. <MCI length> - lenght of the MCI code, including the first letter.
  42.  
  43. <buffer length> (optional) -  This is a special situation for the program.
  44.                Sometimes you might have your MCI over-writing parts of your
  45.                ansi, such as if had a line of '.'s immeadiately after the
  46.                MCI.  In this case, you need to specify the maximum length to be
  47.                allowed for the MCI to over-write.
  48.  
  49.  
  50.   Thats about it.  Some experimenting might be needed to get the hang of it,
  51. but I assure you, its definately worth it.  I included a sample to look at if
  52. you get confused.
  53.  
  54. Killean - ACiDic Staff / RG Alpha
  55.