Skip to content

logon.js won't show logonXX.seq files

I create a logon1.seq logon2.seq etc to show petscii logon screens (also test with logonX.40col.seq) I also have the current logon1.asc,logon2.asc etc..that work fine.

I noteice that at logon procedure always show these .asc files instead of the .seq files for 40 columns connections (Pet40port)

    // Print successively numbered logon screens (logon, logon1, logon2, etc.)
    var highest_printed_logon_screen=-1;
    for(var i=0;;i++) {
        var fname="logon";
        if(i)
            fname+=i;
        if(!bbs.menu_exists(fname)) {
            if(i>1)
                break;
            continue;
        }
        bbs.menu(fname);
        highest_printed_logon_screen = i;
    }

bbs.menu() works at main menu prompt, it show the main.40col.seq file whitout problem

Edited by Fernando Toledo