• STR_CMDS.SRC Alteration

    From Weeds@VERT/TALAMASC to All on Sat May 29 03:47:00 1999
    Here is an alteration to your str_cmds.src file so you can compile and execute BAJA script from any menu.

    compare_str "~!DOS"
    if_true
    chksyspass
    if_true
    exec_int command.com
    end_if
    return
    end_if

    compare_word "compile"
    if_true
    shift_str 4

    compare_word " "
    if_true
    shift_str 1
    end_if
    compare_substr str "."
    if_true
    print "Please just use the name of the .SRC"
    return
    end_if
    exec_int "%!baja C:\sbbs\exec\%s"
    return
    end_if

    compare_word "BAJA"
    if_true
    shift_str 4
    compare_word " "
    if_true
    shift_str 1
    end_if
    compare_substr str "."
    if_true
    print "Please just use the name of the .BIN"
    return
    end_if
    exec_bin %s
    return
    end_if

    compare_str "DIR"
    if_true
    chksyspass
    if_true
    exec_int command /c dir %f /p
    end_if
    return
    end_if

    The ~!DOS and DIR strings were included to show you where I inserted this into the str_cmds.src file.

    Weeds (Formerly The Director of After Hours BBS)

    ---
    þ Synchronet þ telnet://talamasca-bbs.com http://www.talamasca-bbs.com