• frame.js putmsg not expanding @-codes

    From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Aug 8 15:48:30 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/430#note_2704

    I think you're expected to set the Frame "atcodes" property to `true` before it'll do any @-code parsing.
    --- SBBSecho 3.15-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 Aug 8 17:26:25 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/430#note_2705

    Putting @-codes in your JS source is kind of a red flag that you're doing something in a weird/round-about way anyway.There should always be a better way. For the example you provided, consider the following instead:```popup.putmsg("This node is " + bbs.node_num);```@-codes are really intended for placement in display/text files, not source code.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Mon Sep 11 12:52:12 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/430#note_3949

    I changed the code accordingly based on suggestions. Can close this one out. --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Mon Sep 11 12:52:12 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/430
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)