• remove_files [part 2]

    From Fang-Castro@VERT/FTPBBS to echicken on Thu Oct 1 16:33:11 2020
    #voting question(s) available notification

    !include file_io.inc
    !include sbbsdefs.inc

    str vote_disp "/sbbs/doors/vote/votedisp.ans"
    str del "/sbbs/doors/vote/delete.me"

    setstr "/sbbs/doors/vote/votedisp.ans"
    remove_file str

    exec_xtrn "votechk"

    chkfile "/sbbs/doors/vote/votedisp.ans"
    if_true
    print "checking..."
    pause
    printfile "/sbbs/doors/vote/votedisp.ans"
    remove_file "/sbbs/doors/vote/votedisp.ans"
    if_true
    print "DELETED"
    else
    print "NOT DELETED"
    print "after p,r"
    pause
    else
    print "s k i p p e d @PAUSE@"

    remove_file "/sbbs/doors/vote/votedisp.ans"
    remove_file del

    ---
    þ Synchronet þ Flee the Planet BBS [flee.fsxnet.nz:2323]