• Add support for @-codes in text.ini

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Friday, January 12, 2024 22:09:50
    open https://gitlab.synchro.net/main/sbbs/-/issues/696

    I want to do be able to do something like this without having to go into the code and change the lines manually.

    ```
    NodeLoggedOff: "\1_\1w\1hNode %2d: \1g%s\1n\1g logged off @DATE @TIME\r\n\1n" NodeLoggedOnAtNbps: "\1_\1w\1hNode %2d: \1g%s\1n\1g logged on @DATE @TIME\r\n\1n"
    ```
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Friday, January 12, 2024 22:22:11
    https://gitlab.synchro.net/main/sbbs/-/issues/696#note_4670

    Some strings in the text.dat and text.ini already support @-codes. e.g. all strings without format specifiers (e.g. %s) should already support @-codes.

    Strings with format specifiers (e.g. %s) require special treatment to support @-codes. It's not all or nothing, it's case by case.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Friday, January 12, 2024 22:33:56
    close https://gitlab.synchro.net/main/sbbs/-/issues/696
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to Nigel Reed on Saturday, January 13, 2024 16:14:14
    On Fri, 12 Jan 2024 22:09:50 -0800
    "Nigel Reed" (VERT) <VERT!Nigel.Reed@endofthelinebbs.com> wrote:
    open https://gitlab.synchro.net/main/sbbs/-/issues/696

    I want to do be able to do something like this without having to go
    into the code and change the lines manually.

    ```
    NodeLoggedOff: "\1_\1w\1hNode %2d: \1g%s\1n\1g logged off @DATE
    @TIME\r\n\1n" NodeLoggedOnAtNbps: "\1_\1w\1hNode %2d: \1g%s\1n\1g
    logged on @DATE @TIME\r\n\1n" ```

    ---
    â–  Synchronet â–  Vertrauen â–  Home of Synchronet â–  [vert/cvs/bbs].synchro.net
    The issue was that I didn't close the @DATE and @TIME with another @.
    Once I added those it worked fine.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    ï¿­ Synchronet ï¿­ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to nelgin on Sunday, January 14, 2024 13:25:04
    Re: Re: Add support for @-codes in text.ini
    By: nelgin to Nigel Reed on Sat Jan 13 2024 04:14 pm

    On Fri, 12 Jan 2024 22:09:50 -0800
    "Nigel Reed" (VERT) <VERT!Nigel.Reed@endofthelinebbs.com> wrote:
    open https://gitlab.synchro.net/main/sbbs/-/issues/696

    I want to do be able to do something like this without having to go
    into the code and change the lines manually.

    ```
    NodeLoggedOff: "\1_\1w\1hNode %2d: \1g%s\1n\1g logged off @DATE @TIME\r\n\1n" NodeLoggedOnAtNbps: "\1_\1w\1hNode %2d: \1g%s\1n\1g
    logged on @DATE @TIME\r\n\1n" ```

    The issue was that I didn't close the @DATE and @TIME with another @.
    Once I added those it worked fine.

    Are you saying you didn't need my code change?
    --
    digital man (rob)

    Breaking Bad quote #39:
    Vacuum cleaner repair? What did you expect? Haji's quick vanish? - Saul
    Norco, CA WX: 59.1øF, 57.0% humidity, 3 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)