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.

Delele user from userlist automaticly (botnet)

Old posts that have not been replied to for several years.
Locked
A
Apache
Voice
Posts: 8
Joined: Sat Aug 28, 2004 9:27 am

Delele user from userlist automaticly (botnet)

Post by Apache »

Hi

I want to script something for my botnet. I have 5 eggdrops which are linked and have the same userlist, downloading from the hub bot.
now i want to delete users automaticly which are not seen or logged in for a time. But my problem:
The bots doesn't know the "last seen time" from die other bots. that means. when every bot deletes the user, the users are removed from the hole userlist, in the other bots also. u know what i mean ? ;) hard to describe..

i must have a script or a funktion that checks on all bots the userlist for the "seen time" and if the user was not seen on a bot, he can be removed.

some ideas ?

thx Apache
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Have a look at the weed script in your eggdrop/scripts dir.
A
Apache
Voice
Posts: 8
Joined: Sat Aug 28, 2004 9:27 am

Post by Apache »

i know about this script.
i already have such scripts how cleanusers and cleanup ..

but the problem is that i will clean the userlist without deleting the users having flags in channels on other linked bots. the hub bot dont know alle flags from all users. only the bot who is in the channel.

how to solve.. ?
B
Burke
Voice
Posts: 21
Joined: Mon Feb 07, 2005 9:33 pm

Re: Delele user from userlist automaticly (botnet)

Post by Burke »

Apache wrote:u know what i mean ? ;) hard to describe..
yep. i know what you mean, but only because we have talked about it in our mother lagunage.

I hope/think others understand too what he mean, it is really hard to discribe.

The therad is old enugh, i have no idea how tix fix this and actual no good script found. There are good cleanusers scripts, but only for single bots.
Now the thread is pushed up, anyone some ideas how to mange old users in a userlist from a botnetwork?
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

if the bots are set to share a userfile and set to share channels (botattr +g and chanset +shared) then they should all have the same last-seen time.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: Delele user from userlist automaticly (botnet)

Post by YooHoo »

Apache wrote:I want to script something for my botnet. I have 5 eggdrops which are linked and have the same userlist, downloading from the hub bot.
now i want to delete users automaticly which are not seen or logged in for a time.... The bots doesn't know the "last seen time" from die other bots...
...i must have a script or a funktion that checks on all bots the userlist for the "seen time" and if the user was not seen on a bot, he can be removed...
This shouldn't be too hard for you to write yourself after familiarizing yourself with a few key commands, such as putallbots, getuser <laston>, and the BOT bind... seems like a commercial for ~doc/tcl-commands.doc, but the information is truly right there...you may wish to read suninet's tcl guide for beginner's, an excellent resource, if a tad outdated.
:mrgreen:
Locked