TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Nightfox
from: DesotoFireflite
date: 2022-05-31 15:25:00
subject: Security Level Menu

  Re: Security Level Menu
  By: Nightfox to DesotoFireflite on Tue May 31 2022 08:32 am

 Ni> Re: Security Level Menu
 Ni> By: DesotoFireflite to All on Tue May 31 2022 07:49 am

 De>> Sorry in advance for such a stupid question, but I can't find the
 De>> answer anywhere. 

 De>> Can I have a Security Level Specific Menu. I want to have a special
 De>> main menu for users that I have to flag for security infractions,
 De>> Level 20, that they alone will see. Is this possable. I know I can
 De>> restrict menu commands on the main menu by using Ctrl-A codes by
 De>> security level, but I prefer just making a special menu for this.
 De>> Thanks in advance. 

 Ni> In your command shell, you should be able to check the user's security and
 Ni> then show a different menu for each.

 Ni> In JavaScript, you could do something like this:
 Ni> if (user.compare_ars("LEVEL 50"))
 Ni> {
 Ni> bbs.menu("menu_50");
 Ni> // Allow level 50 stuff
 Ni> }
 Ni> else if (user.compare_ars("LEVEL 20"))
 Ni> {
 Ni> bbs.menu("menu_20");
 Ni> // Allow level 20 stuff
 Ni> }

Ok, thanks. I got a handle on it. I was just making sure there was no security specific menus before I went this route. Thanks

SysOp: C.G. Learn, AKA: DesotoFireflite
Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
A Gamers Paradise - Over 250 Registered Online Game Doors!

--- CAT (n.), Furry keyboard cover.
 þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
       
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.