• Quick Logon

    From nightcrawler@VERT/DARKSANC to All on Mon Sep 22 01:24:00 2008
    I am wondering if someone could shed some light on how I would accomplish
    a quick login prompt to add to my logon.js file? It would be pretty simple to implement in BAJA:

    # Prompt "quick logon?"
    no_yes "\r\nkhquick logon"
    if_false
    crlf
    goto skip
    end_if
    :skip

    What would be the equivalent in JS?

    Nightcrawler +o Dark Sanctuary
    darksanctuary.servebbs.com


    ---
    þ Synchronet þ The Dark Sanctuary -darksanctuary.servebbs.com
  • From Angus McLeod@VERT/ANJO to nightcrawler on Mon Sep 22 08:30:00 2008
    Re: Quick Logon
    By: nightcrawler to All on Sun Sep 21 2008 18:24:00

    # Prompt "quick logon?"
    no_yes "\r\nkhquick logon"
    if_false
    crlf
    goto skip
    end_if
    :skip

    What would be the equivalent in JS?

    What're you trying to achieve? A skip past the usual bulletins and other stuff? I implemented that once by adding a prefix ("*") to the username
    at the NN: prompt. IOW to perform a fast logon, you would simply
    have to enter *nightcrawler at the NN: prompt.

    A simple check for the "*" turned on a flag to trigger the skip, and
    removed the "*" so the username could be validated successfully. (If you don't like a "*" use something else.) You would have to modify login.js
    to check for the flag. You could insert a small block of code right after
    the
    // Get login string
    var str=console.getstr( . . . );

    to check for the prefix/flag (various ways), remove it if found, and also either initiate the skip or set a value in a variable that can be tested
    later to skip/no-skip. It depends where you want to begin skipping and
    where you want to skip *to*. Something like this maybe?

    // check for quick-logon prefix (O, Perl! Where art thou?)
    if (str.match( /^\*\s*/ )) {
    str = str.replace( /^\*\s*/, "" ); // remove prefix
    QuickFlag = true; // set flagB
    }

    Now at any point, you can test for QuickFlag and take apropriate action as
    you see fit.

    ---
    Playing: "Hey Jupiter (The Dakota Version)" by "Tori Amos"
    from the "More Boys" album.

    ---
    þ Synchronet þ Making sure Jason works OK at The ANJO BBS
  • From nightcrawler@VERT/DARKSANC to Angus McLeod on Mon Sep 22 10:22:00 2008
    Re: Quick Logon
    By: Angus McLeod to nightcrawler on Mon Sep 22 2008 01:30 am

    What're you trying to achieve? A skip past the usual bulletins and other stuff? I implemented that once by adding a prefix ("*") to the username
    at the NN: prompt. IOW to perform a fast logon, you would simply
    have to enter *nightcrawler at the NN: prompt.

    Yes, that is exacltly what I want.

    A simple check for the "*" turned on a flag to trigger the skip, and
    removed the "*" so the username could be validated successfully. (If you don't like a "*" use something else.) You would have to modify login.js
    to check for the flag. You could insert a small block of code right after the // Get login string var str=console.getstr( . . . );

    I am not sure if that would work for me, since I am not using login.js (I am using a Matrix).

    I am looking for something along the lines of a Yes No prompt after the
    first logon.ans is displayed. If yes it would go straight to the main menu.

    Nightcrawler +o Dark Sanctuary
    darksanctuary.servebbs.com


    ---
    þ Synchronet þ The Dark Sanctuary -darksanctuary.servebbs.com
  • From Angus McLeod@VERT/ANJO to nightcrawler on Mon Sep 22 14:29:00 2008
    Re: Quick Logon
    By: nightcrawler to Angus McLeod on Mon Sep 22 2008 03:22:00

    You could insert a small block of code right after
    the // Get login string var str=console.getstr( . . . );

    I am not sure if that would work for me, since I am not using login.js (I am using a Matrix).

    Never saw the appeal of those -- just another option to take before you
    get online....

    Still, you have to enter your username *SOMEWHERE*, whether you use a
    Matrix or not. So you could still use the prefix method.

    I am looking for something along the lines of a Yes No prompt after the first logon.ans is displayed. If yes it would go straight to the main menu.

    That would be just *another* entry for the user to make before getting
    logged on... but I guess it would work well enough.

    ---
    Playing: "Counting blue cars" by "Dishwalla"
    from the "Pet your friends" album.
    þ Synchronet þ Making sure Jason works OK at The ANJO BBS
  • From nightcrawler@VERT/DARKSANC to Angus McLeod on Mon Sep 22 22:29:00 2008
    Re: Quick Logon
    By: Angus McLeod to nightcrawler on Mon Sep 22 2008 07:29 am


    I am looking for something along the lines of a Yes No prompt after the first logon.ans is displayed. If yes it would go straight to the main men

    That would be just *another* entry for the user to make before getting logged on... but I guess it would work well enough.

    Well I am thinking it would be more of a benefit to myself when I am testing out door games and such, so I can quickly get on. But I suppose it might be
    of use to some users who wish to not see all the pretty ANSI. But IMHO, if people don't want to look at ANSI screens and such, they have no business using BBSes.

    Nightcrawler +o Dark Sanctuary
    darksanctuary.servebbs.com


    ---
    þ Synchronet þ The Dark Sanctuary -darksanctuary.servebbs.com
  • From Digital Man@VERT to nightcrawler on Tue Sep 23 01:18:21 2008
    Re: Quick Logon
    By: nightcrawler to All on Sun Sep 21 2008 06:24 pm

    I am wondering if someone could shed some light on how I would accomplish
    a quick login prompt to add to my logon.js file? It would be pretty simple to implement in BAJA:

    # Prompt "quick logon?"
    no_yes "\r\nkhquick logon"
    if_false
    crlf
    goto skip
    end_if
    :skip

    What would be the equivalent in JS?

    What is "goto skip" skipping exactly?

    Anyway, what you wrote in JavaScript, assuming "skip" just skips the rest of the logon script:

    if(!console.noyes("\r\n\1k\1hquick logon")) {
    console.crlf();
    exit();
    }

    digital man (xbox-live: digitlman)

    Snapple "Real Fact" #125:
    Pigeons have been trained by the U.S. Coast Guard to spot people lost at sea. Norco, CA WX: 73.2øF, 73% humidity, 2 mph NE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From nightcrawler@VERT/DARKSANC to Digital Man on Tue Sep 23 06:33:00 2008
    Re: Quick Logon
    By: Digital Man to nightcrawler on Mon Sep 22 2008 06:18 pm

    Re: Quick Logon
    By: nightcrawler to All on Sun Sep 21 2008 06:24 pm

    I am wondering if someone could shed some light on how I would accomplish a quick login prompt to add to my logon.js file? It would be pretty simpl to implement in BAJA:

    # Prompt "quick logon?" no_yes "\r\nkhquick logon" if_false crlf goto skip end_if :skip

    What would be the equivalent in JS?

    What is "goto skip" skipping exactly?

    I am not sure, it is just an excerpt from an old mod by Jack Phlash.

    if(!console.noyes("\r\n\1k\1hquick logon")) { console.crlf(); exit();
    }

    Thanks.

    Nightcrawler +o Dark Sanctuary
    darksanctuary.servebbs.com


    ---
    þ Synchronet þ The Dark Sanctuary -darksanctuary.servebbs.com
  • From Angus McLeod@VERT/ANJO to nightcrawler on Tue Sep 23 04:30:00 2008
    Re: Quick Logon
    By: nightcrawler to Angus McLeod on Mon Sep 22 2008 15:29:00

    But IMHO, if people don't want to look at ANSI screens and such, they
    have no business using BBSes.

    Right. Because unless you are ga-ga for crappy ANSI displays, play
    dumb-assed text-based games, leech files from the filestore, waste hours 'chatting' with the other morons on the board, and post loads of messages
    in the subs, you don't DESERVE to use a BBS. As a good SysOp, it is your
    duty to FORCE your users to enjoy those parts of the system that YOU think
    are worthy, even if THEY do not wish to.

    ---
    Amarok: 17,473 tracks from 1,238 albums by 1,354 artists, but none playing.
    þ Synchronet þ Making sure Jason works OK at The ANJO BBS
  • From nightcrawler@VERT/DARKSANC to Angus McLeod on Tue Sep 23 22:15:00 2008
    Re: Quick Logon
    By: Angus McLeod to nightcrawler on Mon Sep 22 2008 09:30 pm

    But IMHO, if people don't want to look at ANSI screens and such, they have no business using BBSes.

    Right. Because unless you are ga-ga for crappy ANSI displays, play dumb-assed text-based games, leech files from the filestore, waste hours 'chatting' with the other morons on the board, and post loads of messages
    in the subs, you don't DESERVE to use a BBS.

    Looks like you summed it up perfectly.

    Take away all those things you mentioned, and you no longer run a BBS, it is a.... Good question. I have no idea what you'd call it then.

    Nightcrawler +o Dark Sanctuary
    darksanctuary.servebbs.com


    ---
    þ Synchronet þ The Dark Sanctuary -darksanctuary.servebbs.com
  • From Ash-Fox@VERT/QFBBS to nightcrawler on Thu Sep 25 11:47:55 2008
    nightcrawler wrote:


    Take away all those things you mentioned, and you no longer run a BBS, it
    is a.... Good question. I have no idea what you'd call it then.


    Facebook?

    --
    Do not meddle in the affairs of kitsune, for you are crunchy and good with ketchup.

    ---
    þ Synchronet þ QuickFox BBS - "Right on, Commander!" - telnet://bbs.quickfox.net
  • From Angus McLeod@VERT/ANJO to nightcrawler on Wed Sep 24 04:01:00 2008
    Re: Quick Logon
    By: nightcrawler to Angus McLeod on Tue Sep 23 2008 15:15:00

    Right. Because unless you are ga-ga for crappy ANSI displays, play dumb-assed text-based games, leech files from the filestore, waste hours 'chatting' with the other morons on the board, and post loads of messages in the subs, you don't DESERVE to use a BBS.

    Looks like you summed it up perfectly.

    Take away all those things you mentioned, and you no longer run a BBS...

    But you can take away SOME of them and still be running a BBS. For the
    SysOp to *insist* that the callers sit and twiddle their thumbs through
    the lame-assed ANSIs is pathetic.

    ---
    Playing: "Whirl away" by "Patti Smith" from the "Peace & noise" album.
    þ Synchronet þ Making sure Jason works OK at The ANJO BBS
  • From nightcrawler@VERT/DARKSANC to Angus McLeod on Thu Sep 25 22:25:00 2008
    Re: Quick Logon
    By: Angus McLeod to nightcrawler on Tue Sep 23 2008 09:01 pm

    Right. Because unless you are ga-ga for crappy ANSI displays, play dumb-assed text-based games, leech files from the filestore, waste hou 'chatting' with the other morons on the board, and post loads of messa in the subs, you don't DESERVE to use a BBS.

    Looks like you summed it up perfectly.

    Take away all those things you mentioned, and you no longer run a BBS...

    But you can take away SOME of them and still be running a BBS. For the SysOp to *insist* that the callers sit and twiddle their thumbs through
    the lame-assed ANSIs is pathetic.

    Exactly. And I agree, some people don't like or not in the mood to go through 5+ logon screens, hence the quick logon. But before you make the judgement that my ANSIs are "lame-assed", I urge you to check my board out. All of my ANSIs were done by ZeroVison, so they are far from lame-assed.

    Nightcrawler +o Dark Sanctuary
    darksanctuary.servebbs.com


    ---
    þ Synchronet þ The Dark Sanctuary -darksanctuary.servebbs.com
  • From The Immortal@VERT/LIGHTNIN to Angus McLeod on Fri Sep 26 03:19:24 2008

    But you can take away SOME of them and still be running a BBS. For the SysOp to *insist* that the callers sit and twiddle their thumbs through
    the lame-assed ANSIs is pathetic.

    My 2 cents that everyone but you and your uber message filter will see is
    that a few speedy ENTER's always get you to the main menu fast enough.

    Nothing wrong with a user statistics screen and a LOGON.ANS or random*.ans ad while logging in. It makes for a colorful family style informative BBS and login sequence, instead of an expert mode solid 1color/ascii prompt for 50 year olds that says this was all loaded with punch tape reels, newscan your messages and GO AWAY there is no fun here!

    Also I take pride in my ANSI's that I setup and rip off from ACiD, sixteencolors.net and even Jack Phlash lol...

    I also like lightbar menus, so there.

    =\= The Immortal =/=

    ---
    þ Synchronet þ lightningbbs.dyndns.org Come on by and say hi!!!!!!
  • From Angus McLeod@VERT/ANJO to nightcrawler on Fri Sep 26 05:33:00 2008
    Re: Quick Logon
    By: nightcrawler to Angus McLeod on Thu Sep 25 2008 15:25:00

    But before you make the judgement that my ANSIs are "lame-assed", I
    urge you to check my board out. All of my ANSIs were done by ZeroVison,
    so they are far from lame-assed.

    *Every* ANSI is lame-assed, the second time you HAVE to sit through it.

    ---
    Playing: "Careless Whisper" by "Wham".
    þ Synchronet þ Making sure Jason works OK at The ANJO BBS
  • From nightcrawler@VERT/DARKSANC to Angus McLeod on Sat Sep 27 04:01:00 2008
    Re: Quick Logon
    By: Angus McLeod to nightcrawler on Thu Sep 25 2008 10:33 pm

    *Every* ANSI is lame-assed, the second time you HAVE to sit through it.

    Well you HAVE to see a menu; or be in xpert mode. Given the choice, I'd
    rather see some art, rather than a boring prompt, day after day. Anyways, since this is the Javascript sub, and my problem has been rectified (thanks DM), I consider this topic closed.

    Nightcrawler +o Dark Sanctuary
    darksanctuary.servebbs.com


    ---
    þ Synchronet þ The Dark Sanctuary -darksanctuary.servebbs.com
  • From Angus McLeod@VERT/ANJO to nightcrawler on Sat Sep 27 04:52:00 2008
    Re: Quick Logon
    By: nightcrawler to Angus McLeod on Fri Sep 26 2008 21:01:00

    Re: Quick Logon
    By: Angus McLeod to nightcrawler on Thu Sep 25 2008 10:33 pm

    *Every* ANSI is lame-assed, the second time you HAVE to sit through it.

    Well you HAVE to see a menu...

    Really? When is the last time I saw a Synchronet menu?

    I consider this topic closed.

    Good night to you, then.

    ---
    Playing: "Nightshift" by "Commodores".
    þ Synchronet þ Making sure Jason works OK at The ANJO BBS
  • From W8ZZU@VERT/SCANNER to The Immortal on Sat Sep 27 06:07:00 2008
    Re: Quick Logon
    By: The Immortal to Angus McLeod on Thu Sep 25 2008 08:19 pm

    Nothing wrong with a user statistics screen and a LOGON.ANS or random*.ans ad while logging in. It makes for a colorful family style informative BBS and login sequence, instead of an expert mode solid 1color/ascii prompt for 50 year olds that says this was all loaded with punch tape reels, newscan
    ---SNIP---


    Hey, where's your BBS again?


    Jason - W8ZZU
    Total Logged Contacts = 1761
    Last Contact: K1SD on 40 SSB. Location: RI. 2/27/08 at 23:40 UTC

    ---
    þ Synchronet þ Scanner Enthusiasts BBS - scannerbbs.dyndns.org - *Dove-Net
  • From The Immortal@VERT/LIGHTNIN to Angus McLeod on Sat Sep 27 09:16:14 2008

    Really? When is the last time I saw a Synchronet menu?

    The last time you got on another BBS than your own... so who knows...

    You're in for an annoying treat the first time you use anyone elses command shells that have different default hotkeys.

    Good night to you, then.

    Up yours lol!

    Your supremist attitude sucks, no matter how smart you think you are. It
    never seems to end either. I'm sorry the rest of us don't talk about only assembler and javascript with you all day, and if I recall you weren't prompted to butt in with your negative comments and calling ANSI lame assed.

    Get a life outside of 10100010101's and crashing expensive toy planes.
    God forbid you come across as cheery one day...

    =\= The Immortal =/=

    ---
    þ Synchronet þ lightningbbs.dyndns.org Come on by and say hi!!!!!!
  • From The Immortal@VERT/LIGHTNIN to W8ZZU on Sat Sep 27 09:17:12 2008

    Hey, where's your BB--SNIP-- lol

    TELNET.HOMEIP.NET

    =\= The Immortal =/=

    ---
    þ Synchronet þ lightningbbs.dyndns.org Come on by and say hi!!!!!!