Log in

View Full Version : How do i change a prune variable from day to minute?


vishalsachar
12-30-2004, 02:42 AM
Hi there,

I have installed vBchat (latest) and although it is a superb hack, one problem remains: because messages can be automatically pruned only once per "day", messages stay there for 24 hours.

I would like to change the variable in the code so that instead of pruning by days, it prunes by minutes - so i can enter say, prune every 10 minutes.

I think it should be relatively simple to do for someone who knows the hack and knows a bit about modding (not me at all).

Thanks to anyone who helps.

rake
12-30-2004, 01:36 PM
i'm not familiar with the hack, but you might want to search the code for 60*60*24 or 86400 (That's one day, expressed in seconds 60 seconds * 60 minutes * 24 hours = 86400 seconds) and replace with your own value.