| View previous topic :: View next topic |
| Author |
Message |
R-WaT Halfop
Joined: 06 Jan 2006 Posts: 79
|
Posted: Wed Mar 22, 2006 7:13 pm Post subject: bot kicking ops |
|
|
<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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Mar 22, 2006 9:06 pm Post subject: |
|
|
| 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 |
|
 |
R-WaT Halfop
Joined: 06 Jan 2006 Posts: 79
|
Posted: Thu Mar 23, 2006 5:58 pm Post subject: |
|
|
| thanks |
|
| Back to top |
|
 |
R-WaT Halfop
Joined: 06 Jan 2006 Posts: 79
|
Posted: Thu Mar 23, 2006 6:00 pm Post subject: |
|
|
| [14:00] Tcl error [fludexempt]: invalid command name "1" |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Mar 23, 2006 6:51 pm Post subject: |
|
|
| 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 |
|
 |
|