PDA

View Full Version : cookie that tells deleted dir space


brood
09-14-2005, 02:39 PM
Is there a cookie to ad to the DZSbot.tcl line:

set announce(DELDIR) "-%sitename- \[%section\] + Directory deleted: %path/%bold%release%bold by %bold%user%bold@%group"


That when someone deletes a dir it announces also the space that got free from the dir that's deleted.


Example: If some deletes a dir from 500mb, it announce someting like:

SITE - [MOVIES] + Directory deleted: MOVIE by nick@group, which freed up 500mb.

esmandil
09-16-2005, 09:43 AM
I strongly doubt it... when you delete a directory, it is empty -- you delete all files before.