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 & USE
R_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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net