home *** CD-ROM | disk | FTP | other *** search
-
- SetFlag v1.0 by Rob Fletcher
- Copyright (c) 1988
-
-
- First: Before you use this program read the disclaimer enclosed.
- I have not had any trouble with this but you might so backup your
- users.bbs file before you use it to be safe. I wrote this thing
- while watching Letterman one night so its bound to have a few bugs.
-
-
- Purpose: To turn a certain flag on or off in the QuickBBS userfile.
- SetFlag was originally created to allow me to execute type 15
- exits with an auto-execute(cntrl-A) menu option. A type 15
- exit dumps the user back to the top menu with the same options
- he had when he left. With an autoexec-Type 15, the user would
- continually exit and return, exit and return, etc... in an
- endless loop. SetFlag can eliminate this problem by turning off
- one or more of the user's flags WHIlE he is exited so when he
- returns he no longer has access to the type-15 command. You
- can also give him access to other options while exited by
- turning on one or more of his flags. The possiblities are
- endless.
-
- Use: The command line for SetFlag is: SETFLAG <flag> <onoroff> <username>
-
- <flag> is the flag to turn on or off. It is 2 characters. The first
- character must be A,B,C, or D. These letters correspond to
- the A Flags, B Flags, C Flags, and D Flags used in QuickBBS.
- The second character is a number from 1 to 8. This number is
- tells SetFlag which flag to manipulate.
- Example: A5 would change the fifth A flag in the user's record.
- A -------- B -------- C -------- D --------
- ^
- A5
-
- <onoroff> Tells SetFlag whether to turn the flag in question ON or OFF.
- If you put ON here it would turn on the A5 flag.
-
- A ----X--- B -------- C -------- D --------
- ^
- A5 turned ON
-
- <username> Tells SetFlag what user to do this flag change on.
- You must put and _underline_ character in the name where spaces
- would normally go. Example: Joe_User = Joe User
- There are some special names you can use here also.
-
- EXIT tells SetFlag to get the users name from the exitinfo.bbs
- file created by QuickBBS when a user exits to DOS.
- Note: Dont use the EXIT option when shelled (type 7) from
- QuickBBS. ONLY with a type 15.
-
- AFTER tells SetFlag to get the users name from the sysinfo.bbs
- file. This file contains the name of the last caller. You
- would normally run it with this option AFTER the user has logged
- off.
-
- ALL tells SetFlag to set EVERYONES flag.
-
-
- Examples:
-
- SETFLAG D6 Off EXIT
- Gets the user's name that just exited from the exitinfo.bbs and turns his D6
- flag Off.
-
- SETFLAG B4 ON ALL
- Turns everyones B4 flag on.
-
- SETFLAG A3 ON AFTER
- Turns the last callers A3 flag ON.
-
- SETFLAG A6 OFF Rob_Fletcher
- Turns my A6 Flag Off.
-
-
- Please send any comments, suggestions, questions, etc.. to me at
- The Great Escape BBS-FidoNet Node 170/211-Phone 918-481-1188
-
-
- QuickBBS is Copyrighted by Adam Hudson