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 s
pecific 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
|