# 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( . . . );
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.
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.
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?
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?
if(!console.noyes("\r\n\1k\1hquick logon")) { console.crlf(); exit();
}
But IMHO, if people don't want to look at ANSI screens and such, they
have no business using BBSes.
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.
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.
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...
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.
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.
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.
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...
I consider this topic closed.
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---
Really? When is the last time I saw a Synchronet menu?
Good night to you, then.
Hey, where's your BB--SNIP-- lol
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,043 |
Nodes: | 15 (0 / 15) |
Uptime: | 42:11:11 |
Calls: | 500,900 |
Calls today: | 3 |
Files: | 109,370 |
D/L today: |
4,755 files (492M bytes) |
Messages: | 304,224 |