Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RemoteAccess 1.10 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

       Menu templates
       ------------------------------------------------------------

       The  biggest  drawback of other BBS packages that allow  the
       sysop  the flexibility of designing his or her own menus  is
       the amount of maintenance that is necessary in updating  the
       menus.  Until  now it was necessary to have a separate  menu
       for  each  file  and message  area.  The  RemoteAccess  menu
       templating system alleviates this problem by allowing you to
       set  up one menu that will act as a "skeleton" for all  your
       message  and  file areas.  Two "variables" are available  to
       you; "M" for the currently selected message area and "F" for
       the currently selected file area.  In your template menu(s),
       where you would normally put the message area number in  the
       optional  data field for say a "Read" command,  put in "/M".

       When  the read is selected by the  user,  RemoteAccess  will
       substitute this for a message area number.  Likewise,  where
       you would specify a full path for a file function, put a "/F
       in  the optional data field.  RemoteAccess will replace this
       variable with the path to the currently selected file area.

       To put a value into one of these two variables, simply put a
       "/M=<Area  Number>"  or "/F=<Area Number>" in  the  optional
       data field of a type 1,  2 or 4 menu command.  For  example,
       say   you  set  up  a  message  area  template  menu  called
       "MSGMENU", using the /M in the optional data fields. Another
       menu,  which  you have set up to list the available  message
       areas,  simply consists of type 1 or 2 menu commands to jump
       to MSGMENU. One menu line looks like this:

            <H>ard Disk Conference

       This is a type 2 command,  which will "gosub" to the MSGMENU
       menu:

            Type : 2

       On the optional data line,  put the name of the menu to jump
       to, and also set the template variable.

            Optional Data : MSGMENU /M=45

       45 corresponds to the hard disk conference area,  as defined
       in RACONFIG.

       There  are two other constructs that work with the  template
       commands. /M=+ or /F=+ will increment the currently selected
       template area  by one, and /M=- or /F=- will  decrement  the
       currently  selected template area by one.  RemoteAccess will
       automatically  scan  all  file (or  message)  areas  in  the
       specified direction to determine the next area that the user
       has been given access to.

       The current message and file  template  areas are  stored at
       logoff,  and when the user logs  back on they will be set to
       these message and file template areas.

       When user  logs on  for the  first time,   RemoteAccess will
       scan the file and message areas  and set  the user  selected
       template areas to  the first  area found to  which the  user
       security rights.

       There are a number of special characters that you can put in
       the display line of a menu which will display certain system
       information:


            ~  :  Displays time remaining today.

              :  Switches between the normal line colours and  the
                  overall menu highlight colours.

            ;  :  Don't display a carriage return / linefeed at the
                  end of the line.

            @  :  Displays the name (as defined in RACONFIG) of the
                  currently selected file template area.

            `  :  Displays the name (as defined in RACONFIG) of the
                  currently selected message template area.

           :  This will force RemoteAccess  to  wait until  the
                  user  presses   the  enter key.    To  enter this
                  character in the menu,  press CTRL-P  followed by
                  CTRL-A.

       You may also include  any valid  textfile control  code,  as
       listed in the TEXTFILE CONTROL CODES section of this manual.

See Also: Text file control codes

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson