gooshie commented on a Page, Very Simple Time Counter (Cronometer)  -  Dec 23, 2009

napa182
Ok, so we decide we need to retain this timer data across
sessions because we envision that maybe someone will be timing
something important like their wife's contractions and the bot
has to reboot so we don't want to lose this valuable data. So
I script up hsave/hload. Then the question is, how long do we
need to retain these records? I can envision a more likely
event being that people will start timers and then forget all
about them leaving orphaned set variables in the variable file.
Now we are gonna need some cleanup script but how do we decide
what gets deleted? Everything every month or only data that is
over a month old? I wont go into how if the bot is on more than
one network that the possiblity of two nicks being the same can
intefer with each others timers or how if someone figures out
the set variable thing they can change nicks and create bunches
of orphaned variables over time. That whole /set -e looks better
all the time...

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.