| View previous topic :: View next topic |
| Author |
Message |
nuub Voice
Joined: 26 Jun 2005 Posts: 5
|
Posted: Wed Jun 29, 2005 10:56 pm Post subject: |
|
|
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 |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Thu Jun 30, 2005 2:46 am Post subject: |
|
|
| 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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Jun 30, 2005 4:02 am Post subject: |
|
|
| 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 |
|
 |
dotslasher Halfop

Joined: 10 Aug 2003 Posts: 62
|
Posted: Thu Jun 30, 2005 3:28 pm Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Fri Jul 01, 2005 1:57 am Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Jul 01, 2005 5:48 am Post subject: |
|
|
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
PS: If you want to exempt masks, just add them to +f handle. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
johnnys Voice
Joined: 30 Jun 2005 Posts: 11
|
Posted: Fri Jul 01, 2005 10:29 am Post subject: |
|
|
[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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Jul 01, 2005 11:03 am Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Jul 02, 2005 10:33 am Post subject: |
|
|
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
- 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

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  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
dotslasher Halfop

Joined: 10 Aug 2003 Posts: 62
|
Posted: Sat Jul 02, 2005 11:51 am Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Jul 02, 2005 12:07 pm Post subject: |
|
|
Ahh yeah, it should be ${ctcp-version}, damn it  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Jul 06, 2005 11:31 am Post subject: |
|
|
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  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
^DooM^ Owner

Joined: 26 Aug 2003 Posts: 772 Location: IronForge
|
Posted: Wed Jul 06, 2005 3:43 pm Post subject: |
|
|
I Think i speak for all of us when i say.
NICE ONE!!!
I feel sad replacing sentinel though
Thanks pal  _________________ 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 |
|
 |
|