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 

bot kicking ops

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
R-WaT
Halfop


Joined: 06 Jan 2006
Posts: 79

PostPosted: Wed Mar 22, 2006 7:13 pm    Post subject: bot kicking ops Reply with quote

<tme|citron[tz]> #mouseskills
<tme|citron[tz]> #mouseskills
<tme|citron[tz]> #mouseskills
<tme|citron[tz]> #mouseskills
<tme|citron[tz]> #mouseskills
<tme|citron[tz]> #mouseskills
<tme|citron[tz]> #mouseskills
<tme|citron[tz]> #mouseskills
<tme|citron[tz]> #mouseskills
* tme|citron[tz] was kicked by R-WaT|Eggdrop (flood)


this is a problem. so im testing the eggdrop, and i tell this guy to spam channel to see if he will get kicked, and he does get kicked.

This guy is OPed (+O) in the channel. Not to mention, even if he wasnt, the bot should be kicking after 3 times in 10 seconds. that was like 10 times.

please help.
Back to top
View user's profile Send private message AIM Address
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Mar 22, 2006 9:06 pm    Post subject: Reply with quote

Code:
bind flud - * fludexempt

proc fludexempt {nick uhost hand type chan} {
 return [expr {[validchan $chan] && [isop $nick $chan]}]
}

if you want to exempt voices too, then use
Code:
[expr {([validchan $chan]) && ([iosp $nick $chan] || [isvoice $nick $chan])}]

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
R-WaT
Halfop


Joined: 06 Jan 2006
Posts: 79

PostPosted: Thu Mar 23, 2006 5:58 pm    Post subject: Reply with quote

thanks
Back to top
View user's profile Send private message AIM Address
R-WaT
Halfop


Joined: 06 Jan 2006
Posts: 79

PostPosted: Thu Mar 23, 2006 6:00 pm    Post subject: Reply with quote

[14:00] Tcl error [fludexempt]: invalid command name "1"
Back to top
View user's profile Send private message AIM Address
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Mar 23, 2006 6:51 pm    Post subject: Reply with quote

Code:
return [expr {([validchan $chan]) && ([iosp $nick $chan] || [isvoice $nick $chan])}]

not the [expr] line alone. You should've known that after seeing the first code.

Even, just
Code:
expr {([validchan $chan]) && ([iosp $nick $chan] || [isvoice $nick $chan])}

should do the same job.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
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