Page 1 of 1

Saving K:'s to a config file..

Posted: Sat Mar 27, 2004 3:29 pm
by v00d00
I couldn't find anything about this on the bug/feature request site.. Is there a TODO (or if not, why not) about writing/loading all K:'s to a config file? ie: adding an expiry field to the config, writing the config entry when one is added, removing when it expires..

Currently I'm using services to handle most of them.. I have seen a mod to make perm ones written to the config, but for temp ones (and then updating to the latest version) they are (of course) lost until re-set.

Posted: Sun Mar 28, 2004 1:36 am
by aquanight
First do /stats k
Note the address in each.

For Each Entry in StatsKOutput
/addline ban user { mask "Entry.Mask"; reason "Entry.Reason"; };
Next Entry
/rehash

Removal requires /usr/bin/emacs, etc.