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
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

Zircon wrote:
But if I want to disable it on all channels ?!
Then replace #channel by *

Code: Select all

.chanset * ap:adv - 180 kb 2
Understood, thanks Zircon :)
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

.chanset * ap:textl + 20 w:k:kb 2
Successfully set modes { ap:textl { + 20 w:k:kb 2 } } on all channels.


I've set this option, but the bot still bans the user!

*** tester` was kicked by Bot (Bad word detected. :: [Fri May 30 11:03:31 2008] :: - Banned 120 minutes)
*** Bot sets mode: +b *!*@???.176.6.149

why ?
u
uffs
Voice
Posts: 14
Joined: Thu Apr 17, 2008 9:18 pm
Location: 6°10.5S-106°49.7E

Post by uffs »

because you don't disable it.. + meaning enable and - meaning disable,
also for badwords the setting must like this..

.chanset * ap:swear - 20 w:k:kb 2
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

ap:textl is for text flood (lines) and you've enabled it to warn on 1st offence, kick on 2nd, and kickban if repeated for the 3rd time. The kick message you've pasted is for badwords protection, so edit the ap:swear setting and not the ap:textl; if you want to disable it then make sure it's set to - and not +.
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

damn :) yeah my mistake, sorry!
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

By bot had a ping timeout, when rejoined I saw this in partyline:

[11:00] Tcl error [::AllProtection::joins bnicks]: no such channel record
[11:00] Tcl error [sl_nkflood]: illegal channel: *

what's wrong, can smb tell me ?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

The 2nd error is not related to AllProtection, however the first one is. Which version are you using? and if possible, paste the output of '.set errorInfo'.
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

Sir_Fz wrote:paste the output of '.set errorInfo'.
don't understand what you ask...".set errorInfo" ?
User avatar
Nor7on
Op
Posts: 185
Joined: Sat Mar 03, 2007 8:05 am
Location: Spain - Barcelona
Contact:

Post by Nor7on »

Join to Partyline of ur eggdrop and put:

Code: Select all

.set errorInfo
easy.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Nor7on wrote:Join to Partyline of ur eggdrop and put:

Code: Select all

.set errorInfo
easy.
so it's that easy? wrote:<random user> .set errorInfo
<eggy> What? You need '.help'
Sure was easy, and yields absolutely nothing of interest. To avoid this, you must change variables within your eggdrop.conf first and either .rehash or .restart your bot directly afterwards.

Code: Select all

# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
With them set like this, both 'set' and 'tcl' commands will be accessible on your bots partyline. It is a mistake to call this simple. There are steps that must be followed before .set errorInfo will even yield a result other than 'what?'
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

My conf:

Code: Select all

# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
Partyline:

Code: Select all

.set
What?  You need '.help'
.set errorInfo
What?  You need '.help'
so ?
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

Sir_Fz, got a question:

# Use .chanset #channel ap:btextl <lines>:<seconds> <lockmode> <locktime> (in DCC, 0:0 to disable)
# Set default rate here:
lappend ap:udefs {ap:btextl "15:7 mR-k lines.flood 60"}

mR-k ?

m = moderate (I know)

R = ??? Unknown MODE (should I change it to "r")

-k - what it does ?

60 = 60 seconds lock-time ?

Waitin`..
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

eXtremer wrote:My conf:

Code: Select all

# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
Partyline:

Code: Select all

.set
What?  You need '.help'
.set errorInfo
What?  You need '.help'
so ?
You proved doing nothing doesn't work. Yay!
Now comment out the unbinds, adding # in front and do like you were told.. silly .. heh
# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.

Code: Select all

#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

eXtremer wrote:Sir_Fz, got a question:

# Use .chanset #channel ap:btextl <lines>:<seconds> <lockmode> <locktime> (in DCC, 0:0 to disable)
# Set default rate here:
lappend ap:udefs {ap:btextl "15:7 mR-k lines.flood 60"}

mR-k ?

m = moderate (I know)

R = ??? Unknown MODE (should I change it to "r")

-k - what it does ?

60 = 60 seconds lock-time ?

Waitin`..
The modes you want to set when a flood occurs are up to you to be decided. On Dalnet +R means only registered nicks can join the channel, you can change this depending on what network your bot is on (i.e. you can use whatever supported modes you want). k is to set a key for the channel... it's totally useless in this case and only used to display a reason for why the lock is happening, if it's not supported by your network then don't use it.
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

speechles wrote:
eXtremer wrote:My conf:

Code: Select all

# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
Partyline:

Code: Select all

.set
What?  You need '.help'
.set errorInfo
What?  You need '.help'
so ?
You proved doing nothing doesn't work. Yay!
Now comment out the unbinds, adding # in front and do like you were told.. silly .. heh
# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.

Code: Select all

#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
oops sry, I thought it should be uncommented...
Post Reply