Just to check before I bother to write things, but do people have a
good way for automatically adding something to their ANSIs that are
posted with automation? Or general thoughts on posting generated
ANSIs?
I was thinking that I could post my calendar ANSIs as a BBS ad, adding
a line at top and/or bottom with "telnet.stormbbs.com" or something,
and figured I'd do a Mystic Python script to do that, call my calendar script to get the correct ANSI, and write out that line and the ANSI
to calendar.ans (or something), and use mutil to post that output.
But I know people have done this sort of thing before, and wondered if anyone had any better ideas.
You could use cat or something similar to combine your input files into a single file to import.
That doesn't happen with mutil. Lines longer than 79 or 80 characters
will be truncated at that point. So be sure that your input file is formatted within those limits and you should have no problem.
Not me. I have no ansi art ability. I can appreciate but not create ansi
Just to check before I bother to write things, but do people have a good way for automatically adding something to their ANSIs that are posted
with automation? Or general thoughts on posting generated ANSIs?
Just to check before I bother to write things, but do people have a good way for automatically adding something to their ANSIs that are posted
with automation? Or general thoughts on posting generated ANSIs?
https://github.com/robbiew/mystic-external-api-examples
I use python to do this. I have 2 'mods' (really just python scripts)
that can add ANSI to an existing ANSI file -- whether it's a header/footer, or writing something in a particular X/Y location.
For me, I use the python script to grab data from an external API (news) and then format/write the headlines with an ANSI header and footer. It runs as a Mystic event.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 409 |
Nodes: | 16 (3 / 13) |
Uptime: | 69:04:35 |
Calls: | 8,576 |
Calls today: | 6 |
Files: | 13,225 |
Messages: | 5,931,197 |