• baja code

    From Matt Kraner to All on Friday, March 10, 2006 17:22:41
    this is my 1st time making my own baja

    what did I do wrong

    !include sbbsdefs.inc
    !include file_io.inc
    !include dir_attr.inc

    :main
    cmd_home
    async
    compare_ars expert
    if_false
    clear_abort
    menu WILDCAT\door
    print "\r\nCommand >>? "
    else
    print "\r\n@GRP@ @SUB@, Door MENU: ? "
    end_if

    node_action node_main
    async

    getcmd 1Q?\r

    # Write command to log file
    logkey_comma

    # Commands
    cmdkey ?
    compare_ars expert
    if_true
    menu WILDCAT\door
    end_if
    end_cmd

    cmdkey 1
    EXEC_BIN "BOX"
    end_cmd

    cmdkey Q
    cmd_pop
    goto main
    end_cmd

    end_cmd

    thanks
  • From Angus McLeod@ANJO to Matt Kraner on Saturday, March 11, 2006 00:24:00
    Re: baja code
    By: Matt Kraner to All on Fri Mar 10 2006 17:22:00

    this is my 1st time making my own baja

    what did I do wrong

    !include sbbsdefs.inc
    !include file_io.inc
    !include dir_attr.inc

    :main
    cmd_home
    async
    compare_ars expert
    if_false
    clear_abort
    menu WILDCAT\door
    print "\r\nCommand >>? "
    else
    print "\r\n@GRP@ @SUB@, Door MENU: ? "
    end_if

    node_action node_main
    async

    getcmd 1Q?\r

    # Write command to log file
    logkey_comma

    # Commands
    cmdkey ?
    compare_ars expert
    if_true
    menu WILDCAT\door
    end_if
    end_cmd

    cmdkey 1
    EXEC_BIN "BOX"
    end_cmd

    cmdkey Q
    cmd_pop
    goto main
    end_cmd

    end_cmd

    thanks


    ---
    Playing: "Babyface" by "U2" from the "Zooropa" album
    ■ Synchronet ■ Where we BAJA Rob into writing our modules. The ANJO BBS
  • From Digital Man to Matt Kraner on Sunday, March 12, 2006 18:29:20
    Re: baja code
    By: Matt Kraner to All on Fri Mar 10 2006 05:22 pm

    this is my 1st time making my own baja

    what did I do wrong

    !include sbbsdefs.inc
    !include file_io.inc
    !include dir_attr.inc

    :main
    cmd_home
    async
    compare_ars expert
    if_false
    clear_abort
    menu WILDCAT\door
    print "\r\nCommand >>? "
    else
    print "\r\n@GRP@ @SUB@, Door MENU: ? "
    end_if

    node_action node_main
    async

    getcmd 1Q?\r

    # Write command to log file
    logkey_comma

    # Commands
    cmdkey ?
    compare_ars expert
    if_true
    menu WILDCAT\door
    end_if
    end_cmd

    cmdkey 1
    EXEC_BIN "BOX"
    end_cmd

    cmdkey Q
    cmd_pop
    goto main

    Remove that "goto". It's not necessary and will mess up your module.

    end_cmd

    end_cmd

    digital man

    Snapple "Real Fact" #53:
    The average women consumes 6lbs of lipstick in her lifetime.
    Norco, CA WX: 63.3°F, 51% humidity, 10 mph SSW wind, 0.04 inches rain/24hrs