egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Idlekickcode
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
tales[c]
Voice


Joined: 09 Oct 2006
Posts: 4

PostPosted: Mon Oct 09, 2006 4:56 pm    Post subject: Idlekickcode Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Oct 09, 2006 5:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Oct 09, 2006 6:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tales[c]
Voice


Joined: 09 Oct 2006
Posts: 4

PostPosted: Tue Oct 10, 2006 7:02 am    Post subject: I am looking for an idlekickcode for my eggdrop. Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Oct 10, 2006 11:37 am    Post subject: Reply with quote

What's to stop users from simply using a script to produce random text, like from a quotes file?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Oct 10, 2006 12:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
tales[c]
Voice


Joined: 09 Oct 2006
Posts: 4

PostPosted: Tue Oct 10, 2006 2:11 pm    Post subject: Idlekickcode Reply with quote

Please can you write me such a script nevertheless?
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Wed Oct 11, 2006 1:51 am    Post subject: Reply with quote

Search the TCL Archive. Don't be lazy Rolling Eyes
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Oct 12, 2006 7:45 am    Post subject: Reply with quote

metroid wrote:
Search the TCL Archive. Don't be lazy Rolling Eyes

I tried that one. Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
tales[c]
Voice


Joined: 09 Oct 2006
Posts: 4

PostPosted: Thu Oct 12, 2006 8:29 am    Post subject: Idlekickcode Reply with quote

thank you. closed.
Back to top
View user's profile Send private message
TheConstructor
Voice


Joined: 04 Apr 2007
Posts: 3

PostPosted: Fri May 18, 2007 9:40 am    Post subject: Reply with quote

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
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Fri May 18, 2007 11:27 am    Post subject: Reply with quote

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.
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
TheConstructor
Voice


Joined: 04 Apr 2007
Posts: 3

PostPosted: Fri May 18, 2007 11:43 am    Post subject: Reply with quote

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
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Fri May 18, 2007 6:21 pm    Post subject: Reply with quote

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.
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
xU
Voice


Joined: 24 May 2007
Posts: 7

PostPosted: Thu May 24, 2007 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber