Hi, I am looking for an idlekickcode for my eggdrop. The eggdrop should kick after for example 10 minutes idletime, but only if there are no important messages. I only know the code in MSL:
$remove($$1-,<the text that i will not read>).
Any suggestions?
Do you think you could clarify things alittle?
What would this "important message" be, how should the bot identify it, who's sending it?
In which ways does it make the builtin idle-kick feature unusable?
I'm not familiar with MSL; but I assume what you're describing is something that filters out "the text that i will not read" from a string. How is this related?
The eggdrop shall kick after 10 minutes user-idletime. Uninteresting words or commands shall filtered out.. If there is an interesting word or command, the counter shell start newly. The eggdrop shall be able to filter not only one word or sign out, but more then one word or sign simultaneously, which i can adjust manually in the code. At the moment I have only a "." as an uninteresting sign, but i will add some uninteresting words later. "." is an uninteresting sign, because the users use it as an anti-idle-sign, so they have new 10 minutes idletime. My aim is it to avoid nonsensical anti idle messages, more than before.
I'd have to agree with rosc on that one...
If you really need to get rid of creative idlers, you'd best off manually kick+ban:ing 'em...
I guess you could write a script that kicks ppl immediately on texts like "."; but I'm afraid you'll end up increasing that list to such sizes that the search-time makes it really useless...
It's really abit like fighting spammers.. you're always one step behind
TheConstructor wrote:So which script did you find?
I'm now in that position, that i want to filter msges with less than 3 chars and don't know which script is still running in recent eggdrop releases.
I found thirty-oen matches for idle in the tcl archive. Don't be so lazy try MC_8's anti-idle script, which I have used in the past, mainly because it is so flexible.
I've been there an most scripts where pre 2006 so I'm not quite sure whether they are at all compatible to current versions.
I'll try your suggestion then.
TheConstructor wrote:I've been there an most scripts where pre 2006 so I'm not quite sure whether they are at all compatible to current versions.
I'll try your suggestion then.
While you are correct in assuming that some scripts won't work for all eggdrops, the majority of tcl's written these days are for the eggdrop1.6x series, which (imho) is the best and most stable eggdrop yet.