| View previous topic :: View next topic |
| Author |
Message |
minted Halfop
Joined: 20 Jul 2005 Posts: 64
|
Posted: Thu Jan 12, 2006 2:35 pm Post subject: |
|
|
| perhaps enable +enforcebans ? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
username Op

Joined: 06 Oct 2005 Posts: 196 Location: Russian Federation, Podolsk
|
Posted: Thu Jan 12, 2006 3:43 pm Post subject: |
|
|
| Sir_Fz wrote: | | What's the problem? |
trouble is what kicked person back to chan before bot sets the ban, so to delete flooder from chan bot must kick him twice. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Jan 12, 2006 6:19 pm Post subject: |
|
|
Your bot is probably lagged, AllProtection uses the fastest Eggdrop queue. There's a script in the Tcl Archive that rekicks a user if he rejoins after the bot kicks him. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Craig Voice
Joined: 22 Feb 2006 Posts: 18
|
Posted: Wed Feb 22, 2006 2:24 pm Post subject: |
|
|
Hello all
It's my first post
I have a question.
How can choose only "## 2 ## Text flood (chars)" ?
Im already try but i have a lot of errors ( |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Craig Voice
Joined: 22 Feb 2006 Posts: 18
|
Posted: Thu Feb 23, 2006 12:12 pm Post subject: |
|
|
sorry my bad english ...
i want only "Text flood (chars)" from this script.. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Craig Voice
Joined: 22 Feb 2006 Posts: 18
|
Posted: Fri Feb 24, 2006 9:09 am Post subject: |
|
|
how to disable all others? and enable only that..
if i try:
| Code: | #bind join - * cjoin:kick
#bind pubm - * text:line
#bind ctcp - ACTION text:action
#bind pubm - * text:char
#bind ctcp - ACTION char:action
#bind notc - * notc:lines
#bind notc - * notc:chars
#bind pubm - * caps:kick
#bind ctcp - ACTION caps:action
bind pubm - * repeat:kick
bind ctcp - ACTION repeat:action
#bind pubm - * codes:kick
#bind notc - * codes:notc
#bind ctcp - ACTION codes:action
#bind pubm - * adv:kick
#bind ctcp - ACTION adv:action
#bind msgm - * adv:private
#bind pubm - * swear:kick
#bind ctcp - ACTION swear:action
#bind part - * rev:door
#bind sign - * rev:door
#bind join - * clones:kick
#bind join - * bnick:kick
#bind nick - * bnick:kick
#bind join - * bident:kick
#bind mode - "* +b" mass:ban
#bind pubm - * btext:line
#bind ctcp - ACTION btext:action
#bind pubm - * btext:chars
#bind ctcp - ACTION bchars:action
#bind notc - * bnotc:line
#bind notc - * bnotc:chars
#bind ctcp - * ctcp:kick
#bind ctcp - * bctcp:lock
#bind ctcr - * ctcr:knl
#bind join - * bjoinf:lock
#bind nick - * bnickf:lock
#bind join - * nosense:kick
#bind part - * pmsgf:ban
#bind mode - "* -o" massd:kick
#bind kick - * massk:kick
#bind nick - * nickf:kick
#bind part - * config:lim
#bind sign - * config:lim
#bind msgm - * priv:texti
#bind ctcp - ACTION priv:acti
#bind notc - * priv:notci
#bind ctcp - * priv:ctcpi
#bind ctcr - * priv:ctcri
#bind flud - * priv:flud
#bind mode - "* +o" cdrone:onop
#bind mode - "* -b" ap:remubt
bind time - * ap:control
bind dcc n|n ap:import ap:import
bind dcc n|n ap:reset ap:reset |
i get this:
| Code: | | [14:16:57] 09<dodododod09> [14:16] Tcl error [repeat:kick]: can't read "o": no such variable |
|
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Feb 24, 2006 8:29 pm Post subject: |
|
|
You don't disable these settings by commenting the binds (bediseds, you need to .restart and not .rehash after commenting them), you simply disable a setting by setting it to 0:0, 0 or - depending on the kind of setting. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Craig Voice
Joined: 22 Feb 2006 Posts: 18
|
Posted: Sat Feb 25, 2006 2:18 pm Post subject: |
|
|
so how can i disable it?
argh.. |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sat Feb 25, 2006 6:16 pm Post subject: |
|
|
| Craig wrote: | so how can i disable it?
argh.. |
A feature is disabled as soon it contains a 0 (or rather if its not a positive number, but you don't need to go into that detail) on one side of the ":" in its udef settings. The default settings for a channel are set in the file itself and you can find the neccessary udef names you have to use via .chanset, if you already loaded that script (or change '[channel get $c [lindex $u 0]] == ""' to '1', if you are too lazy to change all channels to the new default). _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Feb 25, 2006 8:39 pm Post subject: |
|
|
It's very easy to disable a setting, for example to disable a setting which looks like 8:3 you set it to 0:0, to disable a setting that looks like 8 you set it to 0, to disable a setting that looks like + you set it to - and to disable a setting that looks like r:35 b:35 u:35 c:80 you set it to r:0 b:0 u:0 c:0. You would've known that if you just read through the script, you can disable these by default by editing the default values like De Kus said. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
i.m.offline Halfop
Joined: 02 Mar 2006 Posts: 74
|
Posted: Sun Mar 05, 2006 12:38 pm Post subject: |
|
|
I have recently updated my all protection script to 4.5 and I am getting these error on dcc (partyline). Please advice! Thanks in advance.
| Code: |
Tcl error [ap:control]: can't use empty string as operand of "-"
Tcl error [rev:door]: can't use empty string as operand of "-"
|
|
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Mar 06, 2006 7:00 pm Post subject: |
|
|
So I can detect where the error exactly occurs, and paste your settings _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|