Subj : Quick Logon
To   : nightcrawler
From : Digital Man
Date : 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 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 � telnet://vert.synchro.net