| View previous topic :: View next topic |
| Author |
Message |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Wed May 28, 2008 2:58 am Post subject: |
|
|
| Zircon wrote: | | Quote: | | But if I want to disable it on all channels ?! |
Then replace #channel by *
| Code: | | .chanset * ap:adv - 180 kb 2 |
|
Understood, thanks Zircon  |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Fri May 30, 2008 3:24 am Post subject: |
|
|
.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 ? |
|
| Back to top |
|
 |
uffs Voice
Joined: 17 Apr 2008 Posts: 14 Location: 6°10.5S-106°49.7E
|
Posted: Fri May 30, 2008 8:38 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri May 30, 2008 10:13 am Post subject: |
|
|
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 +. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Sat May 31, 2008 4:19 am Post subject: |
|
|
damn yeah my mistake, sorry! |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Tue Jun 10, 2008 4:09 am Post subject: |
|
|
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 ? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Jun 10, 2008 2:12 pm Post subject: |
|
|
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'. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Fri Jun 13, 2008 3:15 am Post subject: |
|
|
| Sir_Fz wrote: | | paste the output of '.set errorInfo'. |
don't understand what you ask...".set errorInfo" ? |
|
| Back to top |
|
 |
Nor7on Op

Joined: 03 Mar 2007 Posts: 185 Location: Spain - Barcelona
|
Posted: Fri Jun 13, 2008 8:45 am Post subject: |
|
|
Join to Partyline of ur eggdrop and put:
easy. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri Jun 13, 2008 3:05 pm Post subject: |
|
|
| Nor7on wrote: | Join to Partyline of ur eggdrop and put:
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: | # 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?' _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Mon Jun 16, 2008 4:45 am Post subject: |
|
|
My conf:
| Code: | # 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: | .set
What? You need '.help'
.set errorInfo
What? You need '.help' |
so ? |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Mon Jun 16, 2008 5:01 am Post subject: |
|
|
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`.. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Mon Jun 16, 2008 5:07 am Post subject: |
|
|
| eXtremer wrote: | My conf:
| Code: | # 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: | .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
| Quote: | # 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: | #unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set |
_________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Jun 16, 2008 6:16 am Post subject: |
|
|
| 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. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Mon Jun 16, 2008 7:04 am Post subject: |
|
|
| speechles wrote: | | eXtremer wrote: | My conf:
| Code: | # 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: | .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
| Quote: | # 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: | #unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set |
|
oops sry, I thought it should be uncommented... |
|
| Back to top |
|
 |
|