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.
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.
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?
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.