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.

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
m
minted
Halfop
Posts: 64
Joined: Wed Jul 20, 2005 9:58 am

Post by minted »

perhaps enable +enforcebans ?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

What's the problem?
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

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.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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.
C
Craig
Voice
Posts: 18
Joined: Wed Feb 22, 2006 2:18 pm

Post by Craig »

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 :((
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

What do you mean?
C
Craig
Voice
Posts: 18
Joined: Wed Feb 22, 2006 2:18 pm

Post by Craig »

sorry my bad english ...

i want only "Text flood (chars)" from this script..
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Then only enable it and disable all others.
C
Craig
Voice
Posts: 18
Joined: Wed Feb 22, 2006 2:18 pm

Post by Craig »

how to disable all others? and enable only that..

if i try:

Code: Select all

#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: Select all

[14:16:57] 09<dodododod09> [14:16] Tcl error [repeat:kick]: can't read "o": no such variable
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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.
C
Craig
Voice
Posts: 18
Joined: Wed Feb 22, 2006 2:18 pm

Post by Craig »

so how can i disable it?

argh..
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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...
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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.
i
i.m.offline
Halfop
Posts: 74
Joined: Thu Mar 02, 2006 11:47 am

Post by i.m.offline »

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: Select all

Tcl error [ap:control]: can't use empty string as operand of "-"
Tcl error [rev:door]: can't use empty string as operand of "-"

User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

.set errorInfo
So I can detect where the error exactly occurs, and paste your settings
Post Reply