| View previous topic :: View next topic |
| Author |
Message |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu May 24, 2007 5:46 pm Post subject: |
|
|
@xU:
Unfortunately, getchanidle does not allow you to ignore "non-important" messages, which is the kind of solution the thread-author initially requested. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Sun May 27, 2007 8:47 pm Post subject: |
|
|
To get your started off:
Basically you have to store every users idle time of a channel in an array I suppose and update them every sec. Check everymin for every person in the array and kick/ban the ones idle for 10 or more mins.
Now to check for the interesting words. If a user types a msg and it is not "." (anti-idle sign) or does not contain "." or any other uninteresting word, change the idle time for that user in the array, incr the previous value by 10.
This is what I understood from your explanation. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
|
|
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
|
|