• Logon script running

    From Sabre@1:154/110 to All on Wednesday, March 04, 2026 11:57:32

    Hello everybody!

    I'm trying to figure out how to load script when a user logs on. I'm looking in the wiki but must be missing it, can someone point me to it please?

    Thanks,
    Sabre


    --- SBBSecho 3.37-Linux
    * Origin: Live Wire BBS [livewirebbs.com:1025] (1:154/110)
  • From Nightfox@1:103/705 to Sabre on Wednesday, March 04, 2026 11:41:34
    Re: Logon script running
    By: Sabre to All on Wed Mar 04 2026 11:57 am

    I'm trying to figure out how to load script when a user logs on. I'm looking in the wiki but must be missing it, can someone point me to it please?

    If you have that script set up as an external program, you can set it to run for certain triggers, including login. For instance, run SCFG and go to External Programs > Online Programs (Doors), then choose the section and the door. Then choose the "Execute on Event" option and choose Logon. Bullseye Bulletins is set up that way, for instance.

    Nightfox

    ---
    ž Synchronet ž Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Sabre on Wednesday, March 04, 2026 16:40:00
    Re: Logon script running
    By: Sabre to All on Wed Mar 04 2026 11:57 am


    Hello everybody!

    I'm trying to figure out how to load script when a user logs on. I'm looking in the wiki but must be missing it, can someone point me to it please?

    There are a few ways to have scripts run during logon, there's SCFG->External Programs->Fixed Events->Logon, there's SCFG->External Programs->Online Programs (configured to execute upon Logon Event), and there's directly modifying your exec/logon.js to load/exec another script (not recommended).
    --
    digital man (rob)

    Rush quote #12:
    Hiding beneath the sheets, got to try and fill the void...
    Norco, CA WX: 67.1ųF, 67.0% humidity, 7 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Codefenix@1:103/705 to Digital Man on Thursday, March 05, 2026 07:44:52
    Re: Logon script running
    By: Digital Man to Sabre on Wed Mar 04 2026 04:40 pm

    there's directly modifying your exec/logon.js to load/exec another script (not recommended).

    Unless, of course, having first copied exec/logon.js to mods/logon.js. :D

    |08ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄæ
    |15 Ü|07 Ü |08Ü |11codefenix |08³
    |15 Ū|07ŪŪŪ|08Ū |09ConstructiveChaos BBS |08³
    |15 Ž|07ÜŪÜ|08Ż |01conchaos.synchro.net |08³ |08ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄŁ
    |07
    ---
    ž Synchronet ž -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)