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 ... 9, 10, 11 ... 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
nuub
Voice


Joined: 26 Jun 2005
Posts: 5

PostPosted: Wed Jun 29, 2005 10:56 pm    Post subject: Reply with quote

nah i like this script...what is bantype?

# Bad ident ban type. (-1 to disable ban)
set bident(btype) 2

Is this the Bantime? I set the Bantime on 30, but the bot removes every ban after 2 min.

# Bad ident ban time. (0 for no ban time)
set bident(btime) 30
Back to top
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Thu Jun 30, 2005 2:46 am    Post subject: Reply with quote

Code:

set masktypeDefaultType 3

_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Jun 30, 2005 4:02 am    Post subject: Reply with quote

nuub wrote:
nah i like this script...what is bantype?

# Bad ident ban type. (-1 to disable ban)
set bident(btype) 2

Is this the Bantime? I set the Bantime on 30, but the bot removes every ban after 2 min.

# Bad ident ban time. (0 for no ban time)
set bident(btime) 30

ban type is the type of ban you want to set on the channel, which are written before starting the configuration (yeah you're supposed to read before loading).
Quote:
## Available ban types:
# 0: *!user@full.host.tld
# 1: *!*user@full.host.tld
# 2: *!*@full.host.tld
# 3: *!*user@*.host.tld
# 4: *!*@*.host.tld
# 5: nick!user@full.host.tld
# 6: nick!*user@full.host.tld
# 7: nick!*@full.host.tld
# 8: nick!*user@*.host.tld
# 9: nick!*@*.host.tld

btw: The bans that are set by this script can be normaly removed by any other op, allfloodprotection does not use the internal banlist so be sure about what you're saying before you say anything.

Edit: I just noticed that I've used '30' instead of '$bident(btime)' in the bad ident proc, so the script will remove the ban after 30 minutes whatever you set bident(btime) to. Will be fixed in the next release, which has alot of bugs fixed btw.
_________________
Follow me on GitHub

- Opposing

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


Joined: 10 Aug 2003
Posts: 62

PostPosted: Thu Jun 30, 2005 3:28 pm    Post subject: Reply with quote

i have a suggestion/request: add a toggle for protecting voices in the channels, because right now it doesnt react on people who are voiced.


maybe a set punish(etype) 3

--> types of punish exemptions:

1 exempt voices from punishment
2 exempt halfops from punishment
3 dont exempt voices or halfops


this is just an idea though

because the script has [isvoice $nick $chan] everywhere so it would be better if we could turn off the isvoice protection as an option in the 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 Jun 30, 2005 4:36 pm    Post subject: Reply with quote

Ok, will be done in the next release Smile
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Fri Jul 01, 2005 1:57 am    Post subject: Reply with quote

Yes exemption is very necessary. Exemption options are mostly likely recommended to be added:

Quote:

#These are all the exemption options I have added in all my scripts:

Exemption of channel operators
Exemption of channel half-operators (some ircds support)
Exemption of channel voices
Exemption of users with specific flags global|channel
Exemption of specific nicks
Exemption of specific masks "nick!ident@host.domain"
Exemption of unresolved idents (idents with an asterisk "~")

_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Jul 01, 2005 5:48 am    Post subject: Reply with quote

I have op exemption, +f (friends) and +mo (masters) enabled by default. Only added the ability to choose to either exempt halfops, voices, both or none. If anyone wants the op exemption to be configurable, speak now Razz

PS: If you want to exempt masks, just add them to +f handle.
_________________
Follow me on GitHub

- Opposing

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


Joined: 30 Jun 2005
Posts: 11

PostPosted: Fri Jul 01, 2005 10:29 am    Post subject: Reply with quote

[16:23] Tcl error [swear:kick]: list element in quotes followed by "*bitch*"" instead of space
[16:23] Tcl error [swear:action]: list element in quotes followed by "*asshole*"" instead of space
[16:26] Tcl error [swear:kick]: list element in quotes followed by "*sucker*"" instead of space
[16:26] Tcl error [swear:kick]: list element in quotes followed by "*nutte*"" instead of space
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Jul 01, 2005 11:03 am    Post subject: Reply with quote

That's what happens if you don't configure the script correctly.
The list of badwords should look like this for example:
Code:
set list {
 "element1"
 "*element2*"
 "bla"
}

Don't forget to close the quotes "" and don't stick the elements with each other like "element1""element2" separate them with space in case that's what you've done. I think your problem is with a forgotten close-quote.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Jul 02, 2005 10:33 am    Post subject: Reply with quote

AllFloodProtection v3.9 have been released, this is hopefully the final complete version. The script has the following changes:
  • Fixed several bugs that I've discovered through using the script, that's with the help of the lame flooders who didn't know that they've helped me Razz
  • Added several new features such as:

    • checking for bad nicks/idents, random drones and clones in the nicklist when the bot first joins and gains op. This feature is totally configurable and can be disabled/enabled and you can even make it check only for 1 of those 4 (or more...).
    • Sending a notice to the channel that it has been locked due to flood which can be disabled as well, and putlog in partyline when the bot locks a channel due to flood. (like sentinel.tcl by slennox)
    • New exempts system, that can be understood by reading my initial post in this topic.

  • Made some functionality improvements to the script that I don't recall them all. But all for our benefit Razz

Maybe there's more, but I don't remember.

This version might still have some bugs. If you encounter any, please send an email about the bug to Fz at nexushells.net or post it here. Thank you Smile
_________________
Follow me on GitHub

- Opposing

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


Joined: 10 Aug 2003
Posts: 62

PostPosted: Sat Jul 02, 2005 11:51 am    Post subject: Reply with quote

i'm sorry to report you but the version reply thingy you tried to add causes the script not to be loaded:

Code:
if {![string match -nocase "* Opposing *" $ctcp-version]} {
 set ctcp-version "$ctcp-version - Using \002A\002ll\002F\002lood\002P\002rotection v3.9 by Opposing (aka Sir_Fz) http://hub.nexushells.net/~Fz/"
}


so i commented it out and it loads now.

tcl set errorinfo:

Code:
[17:48:12] [Raziel]: Tcl: can't read "ctcp": no such variable
[17:48:13] [Raziel]: Tcl: while executing
[17:48:13] [Raziel]: Tcl: "string match -nocase "* Opposing *" $ctcp-version"
[17:48:13] [Raziel]: Tcl: (file "scripts/allfloodprotection3.9.tcl" line 1)


Code:
7:48:11] [Raziel]: [11:48] loadall: Unable to load scripts/allfloodprotection3.9.tcl (error: can't read "ctcp": 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: Sat Jul 02, 2005 12:07 pm    Post subject: Reply with quote

Ahh yeah, it should be ${ctcp-version}, damn it Evil or Very Mad
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Jul 02, 2005 12:21 pm    Post subject: Reply with quote

Fixed the ctcp-version problem in v4.0 Smile
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Jul 06, 2005 11:31 am    Post subject: Reply with quote

I have just submitted the script to the tcl archive on egghelp.org. Thanx for all who helped me with this script, it's been fun Very Happy
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Wed Jul 06, 2005 3:43 pm    Post subject: Reply with quote

I Think i speak for all of us when i say.

NICE ONE!!!

I feel sad replacing sentinel though Rolling Eyes

Thanks pal Wink
_________________
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
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 ... 9, 10, 11 ... 88, 89, 90  Next
Page 10 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