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

Post by nml375 »

@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
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

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.
==================================
Post Reply