• javascript command

    From Bill McGarrity@TEQUILAM to All on Wednesday, March 28, 2018 01:29:27
    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@DIGDIST to Bill McGarrity on Wednesday, March 28, 2018 09:41:14
    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 to Bill McGarrity on Wednesday, March 28, 2018 11:52:32
    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