TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: GitLab note in main/sbbs
from: Nigel Reed
date: 2023-09-13 09:14:00
subject: js version of user defaul

https://gitlab.synchro.net/main/sbbs/-/merge_requests/331#note_4026

So what am I doing wrong here? const disp_strings = { autohang: on_or_off(user.settings & USER_AUTOHANG), cls: on_or_off(user.settings & USER_CLRSCRN) };I print disp_strings.autohang and disp_strings.cls and they are defined so that's good. I guess I'm now using bbs.menu correctly?~~~@CLS@^Ah^AbUser Settings for ^Aw@ALIAS@ #@USERNUM@^An:^Ah^Ay@HOT@ ^Ah^Ay(C) ^Ah^AbClear Screen Between Messages^An^Ab: ^Ac@JS:cls@ ^Ah^Ay(Z) ^Ah^AbDefault Download Protocol    ^An^Ab: ^Ac    ^Ah^AbAuto hangup^An^Ab: ^Ac@JS:autohang@ ^Ah^Ay(W) ^Ah^AbChange Password or Signature ^Ah^Ah^AbEnter option or [^AwQ^Ab]uit:@EOF@~~~I pared the file down just for testing and it doesn't display anything at all.bbs.menu(system.text_dir + "menu/default_settings.asc",null,disp_strings);and I get no errors.
--- SBBSecho 3.20-Linux
                                                                                       
* 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™.