home *** CD-ROM | disk | FTP | other *** search
- script
- abort off
-
- ; BBS Express ST! Instant Graphics Analyzer and Mode Switcher
-
- ; Written by Adam Of Evil System Operator #2 of MoDeM MaDnEsS BBS
-
- ; MoDeM MaDnEsS Instant Graphics Bulletin Board System 516-295-3827
- ; 12OO/24OO Baud - 24 Hours a Day/7 Days a Week - 85 Megabytes
- ; Grateful Dead Database, Instant Graphics Online, Awesome Online Games
-
- ; Just to clarify with you that there are only 2 text modes,
- ; text mode #1 is both ascii and vt-52 since the user does select
- ; it from the "E"dit parameters menu unlike FoReM ST BBSes.
-
- clear variables
-
- define igpath = 'e:\menus_80\ig\' ; Path to .IG files.
- define vtpath = 'e:\menus_80\txt\' ; Path to .HLP files.
- define modepath = 'e:\menus_80\gmode.hlp' ; Filename to store mode.
- define filepath = 'e:\menus_80\filename.hlp' ; Filename to store filename.
- define mode
- define filename
- define file
- define cd
-
- if file_exists '[filepath]'
- open '[filepath]' input
- finput filename
- close
- else
- exit
- endif
-
- if file_exists '[modepath]'
- open '[modepath]' input
- finput mode
- close
- else
- open '[modepath]' output
- fprinte '1'
- close
- mode = 1
- endif
-
- if mode = '1'
- file = '[vtpath][filename].HLP'
- ef mode = '2'
- file = '[igpath][filename].IG'
- endif
-
- if file_exists '[file]'
- view '[file]'
- endif
-
- cd = file_delete '[filepath]'
- exit
-
-