home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
maxmen03.zip
/
MAXMENU.DOC
next >
Wrap
Text File
|
1994-03-27
|
11KB
|
315 lines
Welcome to the Maxmenu version 3.0
What it does:
Maxmenu generates from your *.mnu files full 3D Ansi *.bbs menus
You can define there the colors, the Helplevel and what menus for what
privlevel you want displayed.
Maxmenu generates also RIP compatible menus
You can define there the Buttons/line the Icons/line the colors
and the fonts.
So you don't have to change your menus manually for every new
Menuitem only run maxmenu over your *.mnu file that's all.
You can also tell maxmen to process only RIP or only AVATAR.
Don't bother what OS you have maxmen now runs under OS/2 and also under DOS.
Install :
read first this doc file
What you need :
first edit your Menus.ctl file that it looks like this
Menu MAIN0
Title MAIN
MenuHeader none
MenuFile c:\max\menus\Main0 < there you call *.bbs menus
Display_Menu Message%Y Disgrace "Message Areas"
Display_Menu File%Y Disgrace "File Areas"
Display_Menu Change%Y Disgrace "Change Setup"
So if you have a main0.mnu file maxmenu will generate a main0.bbs file.
Then make shure your RIP users get the R keyflag set cause my ripmenus
have in the first line the [ifkey]R and my normal Maximus Menus have
the [notkey]R token included.
you only have to make shure that the following mecca sequence is included
in your Welcome.bbs and rookie.bbs file.
...... welcome.mec .............
[moreoff ckoff]
[link]c:\max\misc\rip\r-logo
.......r-logo...................
[moreoff ckoff][cls]
[comment !|1K|w0000270O12|#|#|# = Set Rip text windows to 80x25]
[comment !|1K|w05052D1421|#|#|# = Set Rip text windows to 80x25 small font]
looking for RIP-TERMINAL
[ifkey]R [keyoff]R
!|1K|w0000270O11|#|#|#
[cls]
[clear_stacked]
[comment !|1F000000RIP? Will return a 0 or 1 if the caller has a RIP Terminal]
!|1F000000RIP?
[pause][pause][pause]
[no_keypress][goto no_rip]
[menu]0123456789zxcvbnm,./';lkjhgfdsaqwertyuiop[]
[choice]1 [goto rip]
[choice]0 [goto rip]
[goto no_rip]
[/rip]
[cls]
[hotkeys goto hotenabled]
[menu_cmd chg_hotkeys]
[/hotenabled]
[keyon]R
[link]c:\max\misc\rip\hello.rip
!|10$PHASER$!|10$PHASER$!|10$PHASER$
[/no_rip]
..................................................
DON'T PUT IT IN YOUR LOGO.BBS cause max doesn't know at this time the
Username!
MAXMENUS.CFG
this is the configuration file for Maxmenu if you don't
have one it doesn't matter maxmenu will then use it's default
settings.
delim1 '│' this symbol defines the left and right border
delim2 '═' this symbol defines the top and bottom border
corner1 '╕'
corner2 '╒' This symbols defines the corners
corner3 '╛'
corner4 '╘'
NOTIME if you don't want the Time displayed then uncomment this line
NOSYMBOL if you don't want a '■' symbol at the top left of the menu
then uncomment this line
RIPKEY 'x' uncomment this line if you don't want userkey 'R' for
your menus and write your own key.
only key 1..8,A..X are supported by Maximus.
NOptback Fore/Background of top left Menusymbol '■'
NLback Fore/Background of Menudescriptions this is the 'ile'
string for menupoint File.
NHeader Headercolor this is the Fore and Backgroundcolor in the Menuheader
Like MAINMENU or MESSAGEAREA
NBackground Backgroundcolor this is the Backgroundcolor of the whole Menu
NForeground Foregroundcolor of Select and Time line
NHighShadow Fore/Backcolor of Highlighted Shadow
NLowShadow Fore/BackColor of Lowlighted Shadow
If you use the colors in maxmenus.cfg then you
HAVE TO SELECT FOR ALL MENUS the colors.
; if the user has defined NOVICE Menus then you can control if
; he should get instead REGULAR or EXPERT menus.
; valid keys are : valid combinations are:
;
; TWIT EXPERT
; DISGRACE REGULAR
; LIMITED
; NORMAL
; WORTHY
; PRIVIL
; FAVORED
; EXTRA
; CLERK
; ASSTSYSOP
; SYSOP
;
;SYSOP_EXPERT ; sysop should get expert menus
;TWIT_NOVICE ; twit should get novice menus
;NORMAL_REGULAR ; normal should get regular menus
;FAVORED_REGULAR ;
;EXTRA_EXPERT ;
;DISGRACE_NOVICE ; disgrace should get novice menus
;
RIP_STUFF
change the fonts for all of your RIP Menus :
RIP_HEADERFONT 8; font of all headertitles like 'MAIN MENU'
RIP_HEADFONTSIZE 4; size of the font depends on the font you are using
RIP_BUTTONFONT 2; font of all Buttons like 'Goodbye'
RIP_BUTTFONTSIZE 4; size of the font depends on the font you are using
Please take a look in maxmenus.cfg there you will find an overview of valid
Fonts.
With the following commands it's possible to give some of your menus
different colors.
N_Rip_ButtonText 0; { text inside buttons is black }
N_Rip_ButtonShadow 8; { darkgray shadow }
N_Rip_ButtonInvShadow 15; { white shadow }
N_Rip_Buttoncol 7; { button appears gray }
....
....
The Icons are now also configurable with the
ICONFILE 301 d:\ripaint\icons\hangman
this means for the maximus internal command 301 = 'Hangup' the Icon
Hangman will be displayed on the remoteside.
Use only icons for commands which are unique in the menu cause you will get
displayed this icon in the other menus too.
In this example you will display a hangman icon in every menu where you use
the maximus hangup command.
With the next two tokens you can define if you only want ANSI/AVATAR or
if you only want RIP menus.
NO_ANSI ;this produces only RIP menus and no Ansi/Avatar code
NO_RIP ;this produces only ANSI/AVATAR menus and no RIP stuff
This is for those of you who have already ansi or rip menus and only need one
of them.
Please make a separate directory with your *.mnu in it and then compile it,
cause maxmen will overwrite your ANSI or RIP menus.
The next token is valid for RIP and ANSI/AVATAR
;NO_TWIT_d:\max\misc\twit
;NO_DISGRACE_d:\max\misc\disgrace
;NO_LIMITED_d:\max\misc\limited
;NO_NORMAL_d:\max\misc\normal
;NO_WORTHY_d:\max\misc\worthy
;NO_PRIVIL_d:\max\misc\privil
;NO_FAVORED_d:\max\misc\favored
;NO_EXTRA_d:\max\misc\extra
;NO_CLERK_d:\max\misc\clerk
;NO_ASSTSYSOP_d:\max\misc\assys
;NO_SYSOP_d:\max\misc\sysop
This means don't display a menu for level DISGRACE and do instead a
[display]d:\max\misc\disgrace.
So you can Experiment with your own menus or give some special privlevels
special menus.
Please note that you must also write your own RIP menus if you include
this token.
thats all for the beginning.
If you already have some *.bbs menufiles then copy some of your *.mnu
files to a different subdir and run maxmenu in this subdir cause Maxmenu
overwrites all old *.bbs files with his outputfiles.
so if you only want to see how your menus would look like then e.g.
rename the main.bbs to f9.bbs copy this file to your \misc subdir and run
it with function key F9.
Now something for the interested sysops :
if you want to know how the bbsfiles are generated then run ACCEM on them
then you can see how this menus are generated.
The normal Ansi/maximus menus have the following construction.
Every privlevel gets only Menus with his Privlevel so a user with
level NORMAL doesn't see Menuitems for users with level EXTRA.
Thats normaly a hard work if you generate your menus with an AnsiEditor.
The normal Ansi/maximus menus are also helpdependent that means a user with
helplevel NOVICE gets full menus a user with helplevel REGULAR gets only
the first characters of the menupoints and so on.
users with helplevel Hotflash are not supported but they are also
not supported in all other ansi menus.
The ripmenus are somewhat different with ripmenus the user gets only
menupoints where he has a valid level so NORMAL users get only menupoints
with privlevel TWIT,DISGRACE,NORMAL.
The ripmenus don't care what helplevel the user has they all get full menus.
How to run maxmenu:
you can run it by commandline
MAXMENU MAIN1
then maxmenu will look for a main1.mnu file and make in the same subdir a
Main1.bbs file
you can also make a batchfile if you want to make *.bbs files for all your
*.mnu files
.................allmenus.bat....................
@echo off
for %%X in (*.mnu) do maxmenu %%X
in this archive there should also be an ENGLISH.MAD file this is an
special language file created from the original english.mad for max 2.01wb
but this language file takes advantage of my ansi/max menus so your maximus
will get an unique look and feel.
If you want to know how to implement your own menustyles then open
english.mad with your texteditor and search for ▌ alt-221 this char
is mostly implemented in my menus.
Switching ripmenusupport on and of in the change septup menu
here is an sample how to switch rip on and off in the change setup
....................menus0.ctl.......................
Menu CHANGE0
Title CHANGE
HeaderFile Misc\Change < you need this line
MenuHeader Change
MenuFile c:\max\menus\change0
Display_Menu Main%Y Twit "Quit to Main Menu"
....
....
NoDsp Display_File Misc\Ripsupp Normal "R"
Display_menu Change%Y Normal "Rip Support"
......................change.mec.......................
[ifkey]R [white ]▐[white on gray] [black on gray] RIP Support [yellow on gray] YES [white on gray] [darkgray]▌
[notkey]R [white ]▐[white on gray] [black on gray] RIP Support [yellow on gray] NO [white on gray] [darkgray]▌
[up]
......................rippsupp.mec......................
[ifkey]R [keyoff]R [goto end]
[notkey]R [keyon]R [goto end]
[/end]
Thats all so the user can online toggle if he wants now rip or if he
wants to switch it off.
If you have any questions/hints/tips then don't hesitate and gimme
a netmail.
If you don't like the menus then send me an example what menustyle you
prefer and i will look to implement it in the next version but don't make
them too difficult even computers have their limits.
greetings Schlagi
2:310/3.0 cuckoo's nest vienna/austria