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.
Old posts that have not been replied to for several years.
LaMpiR
Voice
Posts: 21 Joined: Sun Nov 21, 2004 8:55 am
Post
by LaMpiR » Sun Aug 07, 2005 5:42 pm
Script that ban regular users on specific channel for idle of 60 sec. Banning him for 5 minutes...
+, % and @ are not included in punishment
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Aug 07, 2005 7:58 pm
Code: Select all
set idlekickchan "#channel"
bind time - * check:idle
proc check:idle {args} {
set chan $::idlekickchan
foreach nick [chanlist $chan] {
if {[isvoice $nick $chan] || [isop $nick $chan] || [ishalfop $nick $chan]} {
continue
}
if {[getchanidle $nick $chan] > 1} {
newchanban $chan *!*@[lindex [split [getchanhost $nick $chan] @] 1] IdleKick "Idling more than 1 minute." 5
}
}
}
this will check for idlers every minute, if idle time is more than a minute then it will ban them for 5 minutes.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sun Aug 07, 2005 8:42 pm
I'm not sure whether we should satisfy such dumb requests - and banning for 60 secs idle (hell, even lag could cause that) is definitely one of the dumbest
LaMpiR
Voice
Posts: 21 Joined: Sun Nov 21, 2004 8:55 am
Post
by LaMpiR » Tue Aug 09, 2005 11:08 am
demond wrote: I'm not sure whether we should satisfy such dumb requests - and banning for 60 secs idle (hell, even lag could cause that) is definitely one of the dumbest
Because i need this...
Thank you very much Sir_Fz but it doesn't work
Code: Select all
set idlekickchan "#pomoc"
bind time - * check:idle
proc check:idle {args} {
set chan $::idlekickchan
foreach nick [chanlist $chan] {
if {[isvoice $nick $chan] || [isop $nick $chan] || [ishalfop $nick $chan]} {
continue
}
if {[getchanidle $nick $chan] > 1} {
newchanban $chan *!*@[lindex [split [getchanhost $nick $chan] @] 1] IdleKick "Idling more than 1 minute." 5
}
}
}
it just bans the user host
[17:17:43] * Hunter sets mode: +b *!*@glavas.glavati
it doesn't kick him. Would it be possible just to ban user nick!*@* and kick him also?
Dizzle
Op
Posts: 109 Joined: Thu Apr 28, 2005 11:21 am
Contact:
Post
by Dizzle » Wed Aug 10, 2005 2:58 pm
Code: Select all
set idlekickchan "#pomoc"
bind time - * check:idle
proc check:idle {args} {
set chan $::idlekickchan
foreach nick [chanlist $chan] {
if {[isvoice $nick $chan] || [isop $nick $chan] || [ishalfop $nick $chan]} {
continue
}
if {[getchanidle $nick $chan] > 1} {
newchanban $chan *!*@[lindex [split [getchanhost $nick $chan] @] 1] IdleKick "Idling more than 1 minute." 5
putkick $chan $nick
}
}
}
What's this real life ppl keep talking about ??? And where can I download it ???
LaMpiR
Voice
Posts: 21 Joined: Sun Nov 21, 2004 8:55 am
Post
by LaMpiR » Wed Aug 10, 2005 3:16 pm
[21:09:06] * Joins: phyxsius (
glanonja@glavas.glavati )
[21:09:14] <@LaMpiR> 21:09:14
[21:09:57] * ColdKeyboard is now known as ColdKeyboard``off
[21:09:59] <@LaMpiR> 21:09:59
[21:10:14] <@LaMpiR> 21:10:14
[21:10:50] <@LaMpiR> !op Hunter
[21:10:50] * [Nevina] sets mode: +o Hunter
[21:10:55] -ChanServ- Access level for Hunter on #pomoc changed to 5.
[21:11:03] * Parts: phyxsius (
glanonja@glavas.glavati )
[21:11:04] * Joins: phyxsius (
glanonja@glavas.glavati )
[21:12:24] -ChanServ- Access level for Hunter on #pomoc unchanged from 5.
[21:12:26] <@LaMpiR> 21:12:26
[21:13:42] * Hunter sets mode: +b *!*@glavas.glavati
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Wed Aug 10, 2005 9:44 pm
Well mind you this will remove all psybnc and bnc idlers in your channel, sometimes due to server lag or isp/shellbox lag.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
LaMpiR
Voice
Posts: 21 Joined: Sun Nov 21, 2004 8:55 am
Post
by LaMpiR » Thu Aug 11, 2005 4:26 am
#Pomoc is help channel and idle is forbiden.
That;s my point but i just bans them...
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Thu Aug 11, 2005 4:48 am
Getchanidle in my case is not very effective, sometime it doesn't give an idle time if a user joins/parts quickly.
You can bind ctcp FINGER and then check idle time. But sometimes people mostly change their finger replies also I guess. Also sometimes a /whois on a user shows a line how many seconds a user has idled and when he signed on.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================