This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
General support and discussion of Eggdrop bots.
qetuoadgjl
Voice
Posts: 11 Joined: Tue Feb 26, 2008 11:03 am
Post
by qetuoadgjl » Sat Mar 15, 2008 12:31 pm
Okay, so I have about 500 people added within my bots as friends etc, and I'm wanting a big clear out, any fast way of doing this? ty
nml375
Revered One
Posts: 2860 Joined: Fri Aug 04, 2006 2:09 pm
Post
by nml375 » Sat Mar 15, 2008 6:21 pm
Other than deleting the userfile and starting all over?
Which criterias would qualify for an automated removal? (flags, last seen, etc)
NML_375
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Mar 15, 2008 6:30 pm
You can write a peace of script which deletes all +f users for example
Code: Select all
foreach user [userlist f|f] {
# protect +n users from being deleted
if {![matchattr $user n]} {
deluser $user
}
}
(this can be modified to be triggered via a DCC command...)
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Sat Mar 15, 2008 7:43 pm
cleanusers.tcl
slennox wrote: Removes users from the userfile who haven't been seen in a specified number of days. Can also remove users who don't have a password set. Cleanups can be done automatically once a day or manually via DCC commands.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM