User Tools

Site Tools


mutil_post_text_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mutil_post_text_files [2016/04/03 04:20] avonmutil_post_text_files [2019/03/24 04:56] (current) g00r00
Line 3: Line 3:
 The '[PostTextFiles]' stanza tasks MUTIL with posting a text file(s) to a message base(s). The '[PostTextFiles]' stanza tasks MUTIL with posting a text file(s) to a message base(s).
  
-This can be a useful tool if you wanted to automate an announcement to an Echomail area such as weekly posting of an advertisement about your Mystic BBS to an message base of your choosing.+This can be a useful tool if you wanted to automate an announcement to an Echomail area. For example a weekly posting of an advertisement about your Mystic BBS to message base(s) of your choosing.
  
-To enable this function you modify the '[general]' stanza as follows:+**Note:** If you wish to use this function to post ANSI files to a message base, the ANSI file must be saved with a line length of 79 characters or less.  Not all ANSI editors have this capability, but Mystic BBS has a built in ANSI editor that does.  Load the ANSI into the Mystic ANSI editor and then save it, setting the "Line Length" to 79 characters on the save dialog.
  
 +To enable this function you modify the '[general]' stanza as follows:
  
   [general]   [general]
      
-  PostTextFiles           = true+  PostTextFiles = true
  
-There are a number of switches to define:+You begin by defining the total number of text files to be posted when MUTIL is run.  
  
-The name of the file you wish Mystic to post+  totalfiles = 2
  
-  file1_name    = myfirstfile.txt+There are a number of switches to define when setting this function upThis needs to be done for each file you have defined in the line above. Let's have a look at the switches in detail:
  
-The permanent index of message base to post to. The baseidx is the permanent index of the message base to post the message into (shown as Index at the top of the message base editor in Mystic's configuration.+The name of the file you wish Mystic to post. 
 + 
 +  file1_name = myfirstfile.txt 
 + 
 +The permanent index of message base to post to. 
 + 
 +The baseidx is the permanent index of the message base to post the message into (shown as Index at the top of the message base editor in Mystic's configuration.
  
   file1_baseidx = 2   file1_baseidx = 2
Line 24: Line 31:
 Who the post is from. Who the post is from.
                            
-  file1_from    = Sysop+  file1_from = Sysop
      
 Who the post is addressed to. Who the post is addressed to.
                  
-  file1_to      = All        +  file1_to = All        
    
-The subject of the post+The subject of the post.
  
-  file1_subj    = My subject+  file1_subj = My subject
  
-The network address of the posting system+The network address of the posting system.
  
-  file1_addr    = 0:0/0 +  file1_addr = 0:0/0 
      
 Should Mystic auto delete the source text file after posting it's contents to the message base? Should Mystic auto delete the source text file after posting it's contents to the message base?
  
   file1_delfile = false   file1_delfile = false
-  + 
 +You repeat this format within the stanza for each file you wish Mystic to post. For example: 
   file2_name    = mysecondfile.txt      file2_name    = mysecondfile.txt   
   file2_baseidx = 2               file2_baseidx = 2            
Line 50: Line 59:
   file2_delfile = false           file2_delfile = false        
  
-xx 
mutil_post_text_files.1459675240.txt.gz · Last modified: 2016/04/03 04:20 by avon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki