AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to VBBS/VADV Script Discussion <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Steve Winn | razor | Checking status of user flag |
May 5, 2009 3:35 PM |
|||
Re: Checking status of user flag > This seems like a dumb question to me, but I can't find the answer in > SCRIPT.DOC. I've figured out how to turn on/off flags using the SETFLAGS > command, but I can't figure out how to check whether a flag is on or off. > How would I do that? You want to use the INSTR function to search for the flag letter. Like so: ' Set x to the user flags. LET x0 = !57 ' Set y to the flag you are looking for. LET y0 = "A" ' Use INSTR (!8) to find that flag. IFVAL !8 = 0 GOTO NotFound ? "Flag is set" NotFound: ' Continue on... Steve -- [AT2k] -- Your VBBS/VADV Support Center -- [www.at2k.org] -- [bbs.at2k.org] |
||||||
|
Previous Message | Next Message | Back to VBBS/VADV Script Discussion <-- <--- | Return to Home Page |
Execution Time: 0.0198 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |