Saving K:'s to a config file..

These are old archives. They are kept for historic purposes only.
Post Reply
v00d00
Posts: 4
Joined: Sat Mar 27, 2004 3:00 pm

Saving K:'s to a config file..

Post 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.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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.
Post Reply