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 ... 56, 57, 58 ... 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
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Wed May 28, 2008 2:58 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Fri May 30, 2008 3:24 am    Post subject: Reply with quote

.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
View user's profile Send private message
uffs
Voice


Joined: 17 Apr 2008
Posts: 14
Location: 6°10.5S-106°49.7E

PostPosted: Fri May 30, 2008 8:38 am    Post subject: Reply with quote

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


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri May 30, 2008 10:13 am    Post subject: Reply with quote

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


Joined: 07 May 2008
Posts: 138

PostPosted: Sat May 31, 2008 4:19 am    Post subject: Reply with quote

damn Smile yeah my mistake, sorry!
Back to top
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Tue Jun 10, 2008 4:09 am    Post subject: Reply with quote

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


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Jun 10, 2008 2:12 pm    Post subject: Reply with quote

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


Joined: 07 May 2008
Posts: 138

PostPosted: Fri Jun 13, 2008 3:15 am    Post subject: Reply with quote

Sir_Fz wrote:
paste the output of '.set errorInfo'.


don't understand what you ask...".set errorInfo" ?
Back to top
View user's profile Send private message
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Fri Jun 13, 2008 8:45 am    Post subject: Reply with quote

Join to Partyline of ur eggdrop and put:

Code:
.set errorInfo


easy.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Fri Jun 13, 2008 3:05 pm    Post subject: Reply with quote

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

Code:
.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:
# 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
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Mon Jun 16, 2008 4:45 am    Post subject: Reply with quote

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
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Mon Jun 16, 2008 5:01 am    Post subject: Reply with quote

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


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Jun 16, 2008 5:07 am    Post subject: Reply with quote

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


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Jun 16, 2008 6:16 am    Post subject: Reply with quote

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


Joined: 07 May 2008
Posts: 138

PostPosted: Mon Jun 16, 2008 7:04 am    Post subject: Reply with quote

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
View user's profile Send private message
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 ... 56, 57, 58 ... 88, 89, 90  Next
Page 57 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