-
Quick Logon
From
nightcrawler@VERT/DARKSANC to
All on Sun Sep 21 18: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 01: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 03: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 07: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 15: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 Mon Sep 22 18: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 Mon Sep 22 23: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 Mon Sep 22 21: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 15: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 04: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 Tue Sep 23 21: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 15: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 Thu Sep 25 20: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 Thu Sep 25 22: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 Fri Sep 26 21: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 Fri Sep 26 21: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 Fri Sep 26 23: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 02: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 02: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!!!!!!ã