spintax inside files being read?
if for example I use this as in the instructions
Can the files names.dat contain lines of spintax like this
This {sentence|phrase|short paragraph} is in spintax format.
This is another {sentence|phrase|short paragraph} is in spintax format.
BELOW IS THE TEXT FROM THE INSTRUCTIONS
#file_links[<filename or url>,<number of lines>,<line output>]
This macro will read a random line from a file or URL and put them together according to
the <line output> mode. The line output can have the following values:
S Joins the lines with a single space.
L Joins the lines with a new link
N Joins the lines with nothing inbetween.
SP Same as “S” but reads the number of lines not randomly but one after the other.
LP Same as “L” but reads the number of lines not randomly but one after the other.
NP Same as “N” but reads the number of lines not randomly but one after the other.
You can also use a syntax like (<min lines>,<max lines>) for the parameter <number of
lines>. This would not always use the same number of lines but chose a random one
between the given range (e.g. #file_links[names.dat,(2,10),S]).
Example: I like: #file_links[names.dat,2,S] and all on this forum who contribute to it.
Output: These are my friends: Devin Ozz and all on this forum who contribute to it.
Comments