• javascript command

    From Bill McGarrity@VERT/TEQUILAM to All on Wed Mar 28 08:29:27 2018
    Hello gang!

    Was wondering if there was a command that would replace 'console.putmsg' in js with something like 'set top' & 'printfile' in baja where I can import an *.asc header rather than continuous ASCII characters to make a multi-line word as the header?



    Bill


    ... Gone crazy, be back later, please leave message.

    ---
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From Nightfox@VERT/DIGDIST to Bill McGarrity on Wed Mar 28 16:41:14 2018
    Re: javascript command
    By: Bill McGarrity to All on Wed Mar 28 2018 01:29 am

    Was wondering if there was a command that would replace 'console.putmsg' in js with something like 'set top' & 'printfile' in baja where I can import an *.asc header rather than continuous ASCII characters to make a multi-line word as the header?

    If you want to display an .asc file to the user, the bbs.menu() function will display a menu file from your text/menu directory. The format of the function: bbs.menu(base_filename);
    base_filename specifies the name of the file to display from your text/menu directory.

    You can check the following page for Synchronet JavaScript functions & objects: http://www.synchro.net/docs/jsobjs.html

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Bill McGarrity on Wed Mar 28 18:52:32 2018
    Re: javascript command
    By: Bill McGarrity to All on Wed Mar 28 2018 01:29 am

    Hello gang!

    Was wondering if there was a command that would replace 'console.putmsg' in js with something like 'set top' & 'printfile' in baja where I can import an *.asc header rather than continuous ASCII characters to make a multi-line word as the header?

    There's console.printfile() - is that what you're looking for?

    digital man

    Synchronet "Real Fact" #31:
    The Synchronet IRC server (ircd) was written in JS by Randy Sommerfeld (Cyan). Norco, CA WX: 68.8øF, 31.0% humidity, 6 mph NNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net