home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / vdocs.zip / VC10G < prev    next >
Text File  |  1993-12-16  |  8KB  |  210 lines

  1. .TOPIC:                                            
  2. Miscellaneous Commands
  3.  
  4.                                             VBBS 6.12 Documentation -- 10-G-1
  5.  
  6.          ╔════════════════════════════════════════════════════════════════╗
  7.          ║ CHAPTER TEN ANNEX G      MISCELLANEOUS COMMANDS                ║
  8.          ╚════════════════════════════════════════════════════════════════╝
  9.  
  10.                 This is the catchall category.  Many useful commands are
  11.          located in this section that just can't be qualified by a major
  12.          type.
  13.  
  14.          VISUAL/INTERACTIVE
  15.          ══════════════════
  16.  
  17.          AUTOPOST <---
  18.  
  19.                 This brings up the autopost listing.  See VBBS.DOC for more
  20.            information on autoposts.
  21.  
  22.          LISTCALLERS ->  LISTCALLERS <value1>
  23.  
  24.                 This command brings up a list of the callers to your BBS
  25.            for the day.  This will show all of the daily callers if
  26.            <value1> is left blank or set to a number higher than the
  27.            total number of callers, otherwise it will show the last
  28.            <value1> callers.
  29.  
  30.          LOGOFF <---
  31.          LOGOFFYN <---
  32.  
  33.                 These two commands show the user the LOGOFF.MNU and then
  34.            log the user off of the BBS. The only difference between the
  35.            two is that LOGOFFYN prompts the user, while LOGOFF just does
  36.            it.
  37.  
  38.          PAGESYSOP <---
  39.  
  40.                 This pages the sysop for chat, if available.  See VBBS.DOC
  41.            for information on chat availability.
  42.  
  43.          RANDOM <---
  44.  
  45.                 This command shows one of your random blurbs from your
  46.            random blurbs file.  See VBBS.DOC for more information on the
  47.            random message setup (in VCONFIG).
  48.  
  49.          STACK ->  STACK <variable1>
  50.  
  51.                 This command takes the string in <variable1> and places it
  52.            into the next input section that the script enters.  This can
  53.            help make automating multi-keypress functions, like viewing a
  54.            certain message, easy.  It has been tested and can store at the
  55.            LEAST 800 characters from 80 '&'ed variables with NO problems.
  56.            To STACK more than one line of characters for this command just
  57.            use the '&' operator to add multiple variables into the one
  58.            <variable1> for use on the STACK line.  If you DOOR out of VBBS
  59.            or switch to VQWK/VBBS-AUX the information in the stack will be
  60.            lost and will not be implemented.
  61.  
  62.  
  63.                                             VBBS 6.12 Documentation -- 10-G-2
  64.  
  65.  
  66.          SYSINFO <---
  67.  
  68.                 This shows the user a listing of the BBS' activity during
  69.            the current day and over the BBS' lifetime.
  70.  
  71.          VALIDATE <---
  72.  
  73.                 This loads up the network message validation routine. All
  74.            messages in 'Validate On' subs are located here.
  75.  
  76.  
  77.          WHO <---
  78.  
  79.                 This command lists who is currently online and what they
  80.            are doing.  This normally lists the last function block command
  81.            that was selected or the last ACTION command that was used.
  82.  
  83.  
  84.          USER MODIFIERS
  85.          ══════════════
  86.  
  87.          ACCOUNT <---
  88.  
  89.                 This brings up the user's default settings and allows the
  90.            user to change them.
  91.  
  92.          ACTION ->  ACTION <string1>
  93.  
  94.                 This command changes the setting in the <who> command's
  95.            listing to <string1>.  <string1> can be a maximum of 22
  96.            characters long.
  97.  
  98.          ADDCREDITS ->  ADDCREDITS <value1>
  99.  
  100.                 This command adds a number of credits = to <value1> to the
  101.            users account.  <value1> can be positive or negative.
  102.  
  103.          ADDTIME ->  ADDTIME <value1>
  104.  
  105.                 This command adds a number of minutes equal to <value1> to
  106.            the users time left for the day.  <value1> can be positive or
  107.            negative.  Note: The change is for the current call ONLY when
  108.            <value1> is positive but lasts for the entire day if <value1>
  109.            is negative, so be careful when using a negative value.
  110.  
  111.          SETACCFLAG ->  SETACCFLAG <variable1> <option>
  112.  
  113.                 These are the flags used in VConfig to set up restrictions
  114.            on your subs.  They are the (h) flags in the user editor and
  115.            more information on their uses can be found in VBBS.DOC.  The
  116.            <variable1> can be any letter from A to Z and <option> is either
  117.            ON or OFF (remember it is case insensitive).
  118.  
  119.  
  120.                                             VBBS 6.12 Documentation -- 10-G-3
  121.  
  122.  
  123.          SETEXTRA ->  SETEXTRA <value1> <string2>
  124.  
  125.                 There are 8 user-specific variables available for use.
  126.            Each variable can contain a <string2> of up to 16 characters.
  127.            The <value1> determines which $EXTRAx will be set.  This is one
  128.            of the ways you can have info pass between scripts and kept
  129.            track of during the 'DOOR' command.  See VDOOR.DOC for a full
  130.            explaination on how this is done.
  131.  
  132.  
  133.          SETFLAGS ->  SETFLAGS <variable1> <option>
  134.  
  135.                 There are 26 user-specific flags available for use, these
  136.            are also called general (i) flags.  Each flag is a letter from
  137.            A to Z and they are toggled with the <option> ON or OFF.  This
  138.            is another way info can be passed between scripts or saved for
  139.            use after a 'DOOR' command.  See VDOOR.DOC for an integrated
  140.            example on how this is done.
  141.  
  142.            Special Note - three of the flags have a preset use for VBBS:
  143.                  A -->  This flag is toggled on/off with the defaults
  144.                         A>utopost command.
  145.                  F -->  When this flag is ON the user will use the
  146.                         built-in Full-Screen Editor.
  147.                  X -->  When this flag is ON the user will only see
  148.                         a menu by pressing <?>. Also called expert mode.
  149.  
  150.          SETSL -> SETSL <value1>
  151.  
  152.                 Use this command to alter a users security level as shown
  153.           by the $security variable.  The <value1> can be any integer value
  154.           from 0 to 250.  The limit of 250 was set for security reasons.
  155.  
  156.          SETTIMELIMIT -> SETTIMELIMIT <value1>
  157.  
  158.                 This command can be used to increase or decrease a user's
  159.           maximum time per day as shown by the $maxtime variable.  It will
  160.           accept any integer from 0 to 240 for <value1> and this value is
  161.           in minutes per day. The limit of 240 was set for security reasons.
  162.  
  163.          USEREDIT <---
  164.  
  165.                 This command loads the user editor, mostly for sysop use.
  166.            Only accounts with an SL of 255 can access this feature.
  167.  
  168.  
  169.          REAL MISCELLANY
  170.          ═══════════════
  171.  
  172.          ! ->  ! <put your comments here>
  173.  
  174.                 Comment line. All text after a '!' is ignored by the
  175.            script compiler.
  176.  
  177.  
  178.                                             VBBS 6.12 Documentation -- 10-G-4
  179.  
  180.  
  181.          & ->  & <filename>
  182.  
  183.                 This is an include directive for the VSCRIPT compiler to
  184.            add in the contents of another script onto the end of the
  185.            existing code during compilation.  This allows you to write
  186.            up modular scripts and use them in more than one main script
  187.            without having to type or block-copy the section in.  Just
  188.            remember that it adds the code onto the END of the original
  189.            script, so you must include the GO or CALL statements to get
  190.            access to the extra sections.  You can also use this function
  191.            to reduce the size of a single script, as a very long START.V
  192.            can cause problems when it is run (yet you will have none
  193.            of the problems if you break into pieces and include them in.)
  194.  
  195.          BEEP <---
  196.  
  197.                 This sends a beep through the computer speaker.
  198.  
  199.          DELAY ->  DELAY <value1>
  200.  
  201.                 This command pauses the script for <value1> seconds.
  202.  
  203.          LOG ->  LOG <token2> <token3> <token4> ... <token7>
  204.  
  205.                 This command writes up to 6 tokens into the daily log
  206.            file BBS.LOG, located in your \DATA directory.
  207.  
  208.  
  209.  
  210.