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.

Idlekickcode

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
User avatar
tales[c]
Voice
Posts: 4
Joined: Mon Oct 09, 2006 4:47 pm

Idlekickcode

Post by tales[c] »

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?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
User avatar
tales[c]
Voice
Posts: 4
Joined: Mon Oct 09, 2006 4:47 pm

I am looking for an idlekickcode for my eggdrop.

Post by tales[c] »

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.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

What's to stop users from simply using a script to produce random text, like from a quotes file?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
User avatar
tales[c]
Voice
Posts: 4
Joined: Mon Oct 09, 2006 4:47 pm

Idlekickcode

Post by tales[c] »

Please can you write me such a script nevertheless?
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

Search the TCL Archive. Don't be lazy :roll:
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

metroid wrote:Search the TCL Archive. Don't be lazy :roll:
I tried that one. :lol:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
tales[c]
Voice
Posts: 4
Joined: Mon Oct 09, 2006 4:47 pm

Idlekickcode

Post by tales[c] »

thank you. closed.
T
TheConstructor
Voice
Posts: 3
Joined: Wed Apr 04, 2007 8:09 am

Post by TheConstructor »

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.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

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 :wink: try MC_8's anti-idle script, which I have used in the past, mainly because it is so flexible.
T
TheConstructor
Voice
Posts: 3
Joined: Wed Apr 04, 2007 8:09 am

Post by TheConstructor »

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.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

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.
x
xU
Voice
Posts: 7
Joined: Thu May 24, 2007 4:04 pm

Post by xU »

Code: Select all

  getchanidle <nickname> <channel>
    Returns: number of minutes that person has been idle; 0 if the
      specified user isn't on the channel
    Module: irc
Post Reply