AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to BBS Support/Help/Discussion <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Sean Dennis | All | A sample OS/2 script |
August 4, 2019 2:35 PM * |
|||
Hello All, This is a script I wrote that will pull down the text-based forecast from my local NWS office's webpage and turn it into a display file for Maximus. Maximus uses a binary display file for everything so I add on a MECCA header and footer (MECCA is Max's basic scripting language) to the text and compile it to make it viewable. Links is invaluable as it can dump the text to a text file and when needed, convert to a different codepage (see my next messasge). The Links calling line is actually one line instead of three; GoldEd word-wrapped this. === @echo off rem HOURLY_WEATHER.CMD rem Updated 3 August 2019 rem This script will pull the text forecast hourly from MRX and rem convert it to a .BBS file to be displayed on the BBS. d: cd\max\misc\sysbull links -dump "https://forecast.weather.gov/MapClick.php?lat... nglish&FcstType=text &TextType=1" > lw.txt copy lwheader.mec + lw.txt + lwfooter.mec hourly_weather.mec meccap hourly_weather.mec echo y | del lw.txt === lwheader.mec consists of: [cls green] lwfooter.mec consists of: [enter quit] (Issuing the quit command makes the MECCA script stop immediately at the end of the Enter prompt otherwise the BBS would insert a CR/LF and then stop the script.) meccap compiles the script to Maximus's proprietary binary format. You can do this with any BBS software if you tinker with the script. Later, Sean ... I like work-it fascinates me-I can sit and look at it for hours. --- GoldED+/LNX 1.1.5-b20180707 * Origin: Outpost BBS * Limestone, TN, USA (618:618/1) |
||||||
|
Previous Message | Next Message | Back to BBS Support/Help/Discussion <-- <--- | Return to Home Page |
Execution Time: 0.0194 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |