PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: ph34r on 16 January, 2005, 12:55:34

Title: Timed UserDB Cleaner
Post by: ph34r on 16 January, 2005, 12:55:34
Hey Hey!

I've noticed in our hub that once users are registered, if they don't enter the hub with their new nickname (with prefix [PHH]-) they dont get deleted by the RC Inbuilt cleaner. I was wondering if its possible to create a script which basiclly watches when a user is registered, takes note of the time, then after around 15 minutes, if the user has not entered with the new nickname, it deleted the user from the regged users. This would increase the work for our OPs, but save resources and inaccurate regged user lists.

Thanks in advance ;)
Title:
Post by: Optimus on 16 January, 2005, 13:17:39
there is a usercleaner.lua suplyed in Add-On folder that does the job for you. It will remove old accounts that are not used for a period of time.

Greetingz Optimus
Title:
Post by: ph34r on 16 January, 2005, 14:31:22
Yes but this cleaner only deletes accounts which have been logged into atleast once before.

What happens in our hub is users log in as "Username" and we register them with "[PHH]-Username" and tell them to reconnect with their new username, now if they dont come in with "[PHH]-Username" then that account stays in the UserDB and doesnt get deleted by the cleaner because it hasnt been into the hub before. Understand?
Title:
Post by: Optimus on 16 January, 2005, 15:52:37
yes you got a point there
Title:
Post by: ??????Hawk?????? on 16 January, 2005, 16:24:47
hi m8  ..

Plops User cleaner (http://www.plop.nl/ptokaxbots/Plop/usercleaner2.lua) Takes its info direct from the Registeredusers.dat file  ..

maby you could use this one till  Opti  fixes  his  :-)
Title:
Post by: Madman on 16 January, 2005, 16:30:18
That is the one suplyed in Add-On folder in RoboCop =)