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 

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)
Goto page Previous  1, 2, 3 ... 18, 19, 20 ... 88, 89, 90  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
minted
Halfop


Joined: 20 Jul 2005
Posts: 64

PostPosted: Thu Jan 12, 2006 2:35 pm    Post subject: Reply with quote

perhaps enable +enforcebans ?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Jan 12, 2006 2:51 pm    Post subject: Reply with quote

What's the problem?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Thu Jan 12, 2006 3:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Jan 12, 2006 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Craig
Voice


Joined: 22 Feb 2006
Posts: 18

PostPosted: Wed Feb 22, 2006 2:24 pm    Post subject: Reply with quote

Hello all

It's my first post Smile

I have a question.

How can choose only "## 2 ## Text flood (chars)" ?

Im already try but i have a lot of errors Sad(
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Feb 22, 2006 5:31 pm    Post subject: Reply with quote

What do you mean?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Craig
Voice


Joined: 22 Feb 2006
Posts: 18

PostPosted: Thu Feb 23, 2006 12:12 pm    Post subject: Reply with quote

sorry my bad english ...

i want only "Text flood (chars)" from this script..
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Feb 23, 2006 1:40 pm    Post subject: Reply with quote

Then only enable it and disable all others.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Craig
Voice


Joined: 22 Feb 2006
Posts: 18

PostPosted: Fri Feb 24, 2006 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Feb 24, 2006 8:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Craig
Voice


Joined: 22 Feb 2006
Posts: 18

PostPosted: Sat Feb 25, 2006 2:18 pm    Post subject: Reply with quote

so how can i disable it?

argh..
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sat Feb 25, 2006 6:16 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Feb 25, 2006 8:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
i.m.offline
Halfop


Joined: 02 Mar 2006
Posts: 74

PostPosted: Sun Mar 05, 2006 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Mar 06, 2006 7:00 pm    Post subject: Reply with quote

Quote:
.set errorInfo

So I can detect where the error exactly occurs, and paste your settings
_________________
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 -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 18, 19, 20 ... 88, 89, 90  Next
Page 19 of 90

 
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