I need this script to work desperately. My shell keeps killing my trivia bot. Only way to prevent that is to delete files every few hours. Script is below, Any help would be most appreciated ))
#file deletion script by Happ version 1.0
#
#
#
#time in minutes to auto delete files
set timer "120"
#directory files are in
set del_path "/usr/home/botdoc/testbot/AlreadyAsked"
#files in directory to delete
set del_files "AlreadyAskedAnimals1.qst AlreadyAskedDemoBank.qst AlreadyAskedMixed1.qst AlreadyAskedScrambleWords1.qst AlreadyAskedmusic1.qst AlreadyAskedquest2.qst AlreadyAskedquest3.qst AlreadyAskedtvmovie.qst"
#binds
bind dcc x remfiles rf_files
########begin script##################
$timer rf_files
#proc
proc rf_files {hand idx arg} {
global del_path del_files
{exec rm $del_files}
return 0
}