• customize logonlist from modopts.ini

    From Fernando Toledo@1:103/705 to GitLab issue in main/sbbs on Mon Dec 28 01:28:25 2020
    open https://gitlab.synchro.net/main/sbbs/-/issues/197

    Hi!I tried to customize the *last_few_callers_msg* option on modopts.ini at [logonlist] section.I cannot set the format to customize the colors and put the \n at end.It's always show the literal string when the user logon to the bbs```"\x01n\x01g\x01hUltimos llamados:\x01n\r\n"```The code at logonlist use print() ``` if(!this.print(options.last_few_callers_msg || "\x01n\x01g\x01hLast few callers:\x01n\r\n"```I tried single, double and no quotes whitout successThanks!
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Dec 28 04:02:15 2020
    https://gitlab.synchro.net/main/sbbs/-/issues/197#note_1248

    You need to use a colon as the key/value separator when putting string literals in .ini files:http://wiki.synchro.net/config:ini_files#string_literals
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Mon Dec 28 11:48:13 2020
    https://gitlab.synchro.net/main/sbbs/-/issues/197#note_1249

    Oh Cool! I did not know about that syntax!Thanks!
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab issue in main/sbbs on Mon Dec 28 11:48:14 2020
    close https://gitlab.synchro.net/main/sbbs/-/issues/197

    Hi!I tried to customize the *last_few_callers_msg* option on modopts.ini at [logonlist] section.I cannot set the format to customize the colors and put the \n at end.It's always show the literal string when the user logon to the bbs```"\x01n\x01g\x01hUltimos llamados:\x01n\r\n"```The code at logonlist use print() ``` if(!this.print(options.last_few_callers_msg || "\x01n\x01g\x01hLast few callers:\x01n\r\n"```I tried single, double and no quotes whitout successThanks!
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)