• Help

    From Dribble@VERT/LUNATIC to All on Sun Apr 26 17:21:00 2015
    So I have a logon script I coded for my bbs some time ago... Today I decided
    to add a quick logon feature but no matter what the user chooses, it doesnt work. can someone help me figure out why?

    # logon.src

    # Synchronet v2.20 Logon Module

    # $Id: logon.src,v 1.7 2001/07/29 19:15:17 rswindell Exp $

    # @format.tab-size 8, @format.use-tabs true

    !include sbbsdefs.inc

    or _node_misc NM_NOPAUSESPIN# Disable spinning cursor at pause prompts

    compare_ars rest G
    if_true
    :get_name
    print "\1y\1hFor our records, please enter your full name: \1w"
    getname 25
    compare_str ""
    if_true
    goto get_name
    end_if
    log "Guest: "
    logstr
    set_user_string user_string_realname

    :get_loc
    print "\1y\1hPlease enter your location (City, State): \1w"
    getname 30
    compare_str ""
    if_true
    goto get_loc
    end_if
    log " "
    logstr
    set_user_string user_string_location

    #:get_phone
    #print "\1y\1hPlease enter your voice telephone number: "
    #get_template nnn-nnn-nnnn
    #compare_str ""
    #if_true
    #goto get_phone
    #end_if
    #log " "
    #logstr
    #set_user_string user_string_phone
    log "\r\n"
    :get_mag
    print "e

    :logon_event
    cls
    user_event event_logon
    end_cmd

    menu quick
    no_yes quick logon?
    if_false goto end
    end_if
    end_cmd

    :next
    #
    cls
    menu nrk
    end_cmd

    cls
    menu acidic
    end_cmd

    #sysop notices
    cls
    PRINTFILE "c:\sbbs\text\sysnews.ans"
    print "|07loading sysop notices|03.eSETSTR "Sysop"
    MSG_SET_AREA
    MSG_NEW_SCAN_SUB
    End_Cmd

    #exec_bin bionews

    # Last few callers
    cls
    exec_xtrn "lastcall"
    end_cmd

    #auto message
    cls
    PRINTFILE "c:\sbbs\text\autom.ans"
    PRINTFILE "c:\sbbs\data\msgs\auto.msg"
    crlf
    crlf
    pause
    end_cmd

    # Oneliners
    cls
    PRINTFILE "c:\sbbs\text\onel.ans"
    print "|07loading the local onelinerz|03.ecls
    exec_bin oneliner
    end_cmd

    #exec_xtrn syncwall

    #exec_xtrn one

    exec_bin bullseye
    end_cmd

    :nomore

    :end
    cls
    # Automatically set shell to WIPSHELL
    compare_user_misc UM_WIP
    if_true
    setstr "WIPSHELL"
    set_shell
    end_if
    menu mailr

    thanks!
    Dribble

    ---
    þ Synchronet þ Lunatic Fringe - lunatic.zapto.org
  • From Mro@VERT/BBSESINF to Dribble on Mon Apr 27 14:43:00 2015
    Re: Help
    By: Dribble to All on Sun Apr 26 2015 09:21 pm

    So I have a logon script I coded for my bbs some time ago... Today I
    decided to add a quick logon feature but no matter what the user chooses,
    it doesnt work. can someone help me figure out why?


    what does doesnt work mean? does it barf out an error msg.

    does the .js file run instead?
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Dribble@VERT/LUNATIC to Mro on Mon Apr 27 18:25:00 2015
    Re: Help
    By: Mro to Dribble on Mon Apr 27 2015 06:43 pm

    what does doesnt work mean? does it barf out an error msg.

    there is no error message, the yes_no bar does nothing, however i found a fix that works instead of having a goto command, i just call another exec_bin file for normal logon and have it skip that command for quick logon.

    still not sure why the goto command didn't work.
    |08% |15Dribble|08 [|15ACiDiC/nRk|08]|07

    ---
    þ Synchronet þ Lunatic Fringe - lunatic.zapto.org
  • From Mro@VERT/BBSESINF to Dribble on Tue Apr 28 12:51:00 2015
    Re: Help
    By: Dribble to All on Sun Apr 26 2015 09:21 pm

    So I have a logon script I coded for my bbs some time ago... Today I


    you should probably do include nodedefs.inc

    also you are missing an end_if or two in the script i believe.

    also i dont like the menu mailr
    at the bottom

    take out the wipshell stuff.

    take out that end_cmd in the #sysop notices section
    and other areas.
    you use end_cmd with input commadns

    cmdkey k
    exec *balls
    end_cmd


    anyways, delete it all and start over :D
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::