• Stupid question

    From Grease@1:103/705 to All on Mon Oct 21 17:20:00 2019
    Setting up different doors, and going through the js doors in xtrn. When
    doinfg a setup in SCFG when adding the file name, there is sometimes an asterisk (*) or a question mark (?) before the xxxxx.js filename. What is
    the difference between the two?

    Grease


    ... Excuse me, do you mind if I squish in here? - Odo
    --- MultiMail/Win v0.52
    þ Synchronet þ Dark Matter BBS * darkmatt.synchro.net * Howdy from Texas!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Grease on Mon Oct 21 21:31:20 2019
    Re: Stupid question
    By: Grease to All on Mon Oct 21 2019 05:20 pm

    Setting up different doors, and going through the js doors in xtrn. When doinfg a setup in SCFG when adding the file name, there is sometimes an asterisk (*) or a question mark (?) before the xxxxx.js filename. What is the difference between the two?

    '*' is for executing a Baja or JavaScript module.
    '?' is for executing a JavaScript module (only).

    http://wiki.synchro.net/config:cmdline

    digital man

    Synchronet/BBS Terminology Definition #68:
    SSJS = Server-side JavaScript
    Norco, CA WX: 75.9øF, 26.0% humidity, 1 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Digital Man on Tue Oct 22 11:00:00 2019
    Digital Man wrote to Grease <=-

    '*' is for executing a Baja or JavaScript module.
    '?' is for executing a JavaScript module (only).

    Thank you. So basically use the * for everything? Or are some particular?
    Is it just one of those thing you just have to try when loading?

    Grease

    ... Multitasking causes schizophrenia..
    --- MultiMail/Win v0.52
    þ Synchronet þ Dark Matter BBS * darkmatt.synchro.net * Howdy from Texas!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Grease on Tue Oct 22 15:46:48 2019
    Re: Re: Stupid question
    By: Grease to Digital Man on Tue Oct 22 2019 11:00 am

    Digital Man wrote to Grease <=-

    '*' is for executing a Baja or JavaScript module.
    '?' is for executing a JavaScript module (only).

    Thank you. So basically use the * for everything? Or are some particular?
    Is it just one of those thing you just have to try when loading?

    You can usually use '*' for loading any module. The only reason to use '?' over '*' if you do NOT want the fallback from .js to .bin file if/when the .js file doesn't exist.

    digital man

    This Is Spinal Tap quote #8:
    Derek Smalls: Making a big thing out of it would have been a good idea.
    Norco, CA WX: 95.2øF, 11.0% humidity, 2 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)