#!/bin/csh
#Update timestamp on userdata files for wizards (and up) to prevent their
#userdata files from being deleted if they haven't logged on for a while.

if (! -d "userdata") then
        echo "Can't find userdata directory. Are you in the right place?"
        exit
endif

list_su | awk '{ print "touch", $1; }' | sh

#Also protect the accounts used by various bots.
touch userdata/B/Botman.D
touch userdata/S/Sugar.D
touch userdata/W/Whips.D
