| View previous topic :: View next topic |
| Author |
Message |
tales[c] Voice

Joined: 09 Oct 2006 Posts: 4
|
Posted: Mon Oct 09, 2006 4:56 pm Post subject: Idlekickcode |
|
|
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? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Oct 09, 2006 5:26 pm Post subject: |
|
|
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? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Oct 09, 2006 6:58 pm Post subject: |
|
|
| tales_c wrote: | | I am looking for an idlekickcode for my eggdrop. |
Tcl Archive
Use "idle" as your keyword. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
tales[c] Voice

Joined: 09 Oct 2006 Posts: 4
|
Posted: Tue Oct 10, 2006 7:02 am Post subject: I am looking for an idlekickcode for my eggdrop. |
|
|
| 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. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Tue Oct 10, 2006 11:37 am Post subject: |
|
|
| What's to stop users from simply using a script to produce random text, like from a quotes file? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Oct 10, 2006 12:41 pm Post subject: |
|
|
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 _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
tales[c] Voice

Joined: 09 Oct 2006 Posts: 4
|
Posted: Tue Oct 10, 2006 2:11 pm Post subject: Idlekickcode |
|
|
| Please can you write me such a script nevertheless? |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Wed Oct 11, 2006 1:51 am Post subject: |
|
|
Search the TCL Archive. Don't be lazy  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Oct 12, 2006 7:45 am Post subject: |
|
|
| metroid wrote: | Search the TCL Archive. Don't be lazy  |
I tried that one.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
tales[c] Voice

Joined: 09 Oct 2006 Posts: 4
|
Posted: Thu Oct 12, 2006 8:29 am Post subject: Idlekickcode |
|
|
| thank you. closed. |
|
| Back to top |
|
 |
TheConstructor Voice
Joined: 04 Apr 2007 Posts: 3
|
Posted: Fri May 18, 2007 9:40 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Fri May 18, 2007 11:27 am Post subject: |
|
|
| 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. _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
TheConstructor Voice
Joined: 04 Apr 2007 Posts: 3
|
Posted: Fri May 18, 2007 11:43 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Fri May 18, 2007 6:21 pm Post subject: |
|
|
| 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. _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
xU Voice
Joined: 24 May 2007 Posts: 7
|
Posted: Thu May 24, 2007 5:36 pm Post subject: |
|
|
| Code: | getchanidle <nickname> <channel>
Returns: number of minutes that person has been idle; 0 if the
specified user isn't on the channel
Module: irc |
|
|
| Back to top |
|
 |
|