• @-CODES

    From DesotoFireflite@VERT/VALHALLA to All on Sun Apr 3 10:13:58 2022
    Is there a way to use @-codes in a write statement for js. Do I need to include anything extra in the file to make it work. I've even tried to use bbs.atcode(@-Code) to no avil. What am I missing. Thanks in advance.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Digital Man@VERT to DesotoFireflite on Sun Apr 3 11:07:33 2022
    Re: @-CODES
    By: DesotoFireflite to All on Sun Apr 03 2022 02:13 pm

    Is there a way to use @-codes in a write statement for js. Do I need to include anything extra in the file to make it work. I've even tried to use bbs.atcode(@-Code) to no avil. What am I missing. Thanks in advance.

    console.putmsg() will expand @-codes, as documented here: https://wiki.synchro.net/custom:javascript#output

    If you really want to use write(), you could do:

    write(bbs.atcode("@code@")); // that should work too
    --
    digital man (rob)

    Breaking Bad quote #5:
    Sometimes the forbidden fruit tastes the sweetest. - Hank Schrader
    Norco, CA WX: 65.2øF, 66.0% humidity, 9 mph SSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From DesotoFireflite@VERT/VALHALLA to Digital Man on Sun Apr 3 15:29:31 2022
    Re: @-CODES
    By: Digital Man to DesotoFireflite on Sun Apr 03 2022 03:07 pm

    Re: @-CODES
    By: DesotoFireflite to All on Sun Apr 03 2022 02:13 pm

    Is there a way to use @-codes in a write statement for js. Do I need
    to include anything extra in the file to make it work. I've even tried
    to use bbs.atcode(@-Code) to no avil. What am I missing. Thanks in
    advance.

    console.putmsg() will expand @-codes, as documented here: https://wiki.synchro.net/custom:javascript#output

    If you really want to use write(), you could do:

    write(bbs.atcode("@code@")); // that should work too

    Thanks so much for this, and the link. I really appreciate it. I see where I went wrong on the bbs.atcode, but I'm going to try the console.putmsg() first. This has been a goon learning experence for me. Again, thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Digital Man@VERT to DesotoFireflite on Sun Apr 3 18:20:29 2022
    Re: @-CODES
    By: DesotoFireflite to Digital Man on Sun Apr 03 2022 07:29 pm

    Re: @-CODES
    By: Digital Man to DesotoFireflite on Sun Apr 03 2022 03:07 pm

    Re: @-CODES
    By: DesotoFireflite to All on Sun Apr 03 2022 02:13 pm

    Is there a way to use @-codes in a write statement for js. Do I need
    to include anything extra in the file to make it work. I've even tried
    to use bbs.atcode(@-Code) to no avil. What am I missing. Thanks in
    advance.

    console.putmsg() will expand @-codes, as documented here: https://wiki.synchro.net/custom:javascript#output

    If you really want to use write(), you could do:

    write(bbs.atcode("@code@")); // that should work too

    Thanks so much for this, and the link. I really appreciate it. I see where I went wrong on the bbs.atcode, but I'm going to try the console.putmsg() first. This has been a goon learning experence for me. Again, thanks

    https://www.youtube.com/watch?v=LCZg9yapEfk :-)
    --
    digital man (rob)

    Rush quote #6:
    ... but most of us just dream about the things we'd like to be
    Norco, CA WX: 57.1øF, 82.0% humidity, 3 mph SSE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From DesotoFireflite@VERT/VALHALLA to Digital Man on Mon Apr 4 04:50:52 2022
    Re: @-CODES
    By: Digital Man to DesotoFireflite on Sun Apr 03 2022 10:20 pm

    Re: @-CODES
    By: DesotoFireflite to Digital Man on Sun Apr 03 2022 07:29 pm

    console.putmsg() first. This has been a goon learning experence for

    https://www.youtube.com/watch?v=LCZg9yapEfk :-)

    LMFAO, That was good. I saw that when I saved the message, but it was to late then. I humbly accept the "Fat Fingers Award"... Thanks for the laugh <BFG>

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- SENILE.COM found...Out of Memory...
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net