• js Variables

    From dragon@1:229/2 to All on Saturday, October 17, 2020 23:48:09
    From: dragon@IPTIA.remove-tzz-this

    To: DOVE-Net.Synchronet_Discussion
    To: DOVE-Net.Synchronet_Discussion
    @MSGID: <5F8BBAFA.30745.dove-syncdisc@bbs2.ipingthereforeiam.com>
    @TZ: ff10
    I'm writing a little informational script in .js for my board.

    Are there predefined .js variables for the telnet, ssh, and rlogin ports?

    ie 'system.host_name' contains the hostname.

    ---
    þ Synchronet þ IPTIA - bbs2.ipingthereforeiam.com
    --- Synchronet 3.18c-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Sunday, October 18, 2020 03:08:22
    From: digital.man@vert.synchro.net.remove-fik-this

    To: dragon
    Re: js Variables
    By: dragon to DOVE-Net.Synchronet_Discussion on Sat Oct 17 2020 11:48 pm

    To: DOVE-Net.Synchronet_Discussion
    @MSGID: <5F8BBAFA.30745.dove-syncdisc@bbs2.ipingthereforeiam.com>
    @TZ: ff10
    I'm writing a little informational script in .js for my board.

    Are there predefined .js variables for the telnet, ssh, and rlogin ports?

    ie 'system.host_name' contains the hostname.

    No, but it would be fairly trivial to parse those values from the ctrl/sbbs.ini
    file (using JS) if needed them (e.g. for displaying to users).

    digital man

    This Is Spinal Tap quote #2:
    Nigel Tufnel: Well, this piece is called "Lick My Love Pump".
    Norco, CA WX: 68.7øF, 64.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    --- Synchronet 3.18c-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)