• Some help with login/logon and shell javascript

    From alterego@VERT/ALTERANT to Digital Man on Wed May 27 08:26:59 2020
    Re: Some help with login/logon and shell javascript
    By: alterego to Digital Man on Tue May 26 2020 05:14 pm

    Howdy DM,

    I havent figure this one out yet - if you could give me some advice.

    If I dont call bbs.logon(), then I get an error after bbs.login()
    5/26 17:00:33 term Node 1 <Test> - EXIT:
    5/26 17:00:33 term Node 1 <Test> !ERROR 0 (Success) in answer.cpp line 488 (answer) checking "User not logged on" access=0

    In my login.js, if I dont call bbs.logon() before exiting, I get the above error and it terminates the session.

    It seems Error 0 (Success) is not an error?

    And to validate, if I create a logon.js with only:

    // ANSItex Logon Shell
    console.print('LOGON...');

    I dont get the error...

    Must you call a logon.js via bbs.logon()?

    ...лоеп

    ... You've got to miss them to score sometimes.

    ---
    ю Synchronet ю Alterant | an SBBS in Docker on Pi!