• remove_files [part 2]

    From Fang-Castro@FTPBBS to echicken on Thursday, October 01, 2020 09:33:11
    #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]