• js Variables

    From dragon@dragon@IPTIA.remove-tzz-this to DOVE-Net.Synchronet_Discussion on Sat Oct 17 23:48:09 2020
    From Newsgroup: alt.bbs.synchronet

    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
    --- Synchronet 3.19c-Linux NewsLink 1.113
  • From Digital Man@digital.man@vert.synchro.net.remove-fik-this to dragon on Sun Oct 18 03:08:22 2020
    From Newsgroup: alt.bbs.synchronet

    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
    --- Synchronet 3.19c-Linux NewsLink 1.113