| View previous topic :: View next topic |
| Author |
Message |
FireWarrior Voice
Joined: 28 Oct 2008 Posts: 19
|
Posted: Sat Mar 13, 2010 1:01 am Post subject: |
|
|
Hello Opposing,
Many thanks for your reply. Silly me, I had thought of what you said earlier but did'nt dwell on it; now I shall.
Best of luck with everything in life,
Regards,
FireWarrior |
|
| Back to top |
|
 |
Luminous Op
Joined: 12 Feb 2010 Posts: 146
|
Posted: Sun Mar 28, 2010 5:11 pm Post subject: |
|
|
Opposing: can allprotection be modified, so it catches spam like this?:
| Code: |
[ user] . . . . . . . . . . . . . . ... . . . . . .
[ user] . . . . . . .. ..
[ user] ......... . . .
[ user] ... . . .
[ user] . . . ..
[ user] . . .. . . ..
|
|
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Mar 28, 2010 6:13 pm Post subject: |
|
|
| Luminous wrote: | | Code: |
[ user] . . . . . . . . . . . . . . ... . . . . . .
[ user] . . . . . . .. ..
[ user] ......... . . .
[ user] ... . . .
[ user] . . . ..
[ user] . . .. . . ..
|
|
What's this? If you mean recognizing the above text as an offense then you need to suggest a mechanism for catching such offenses (i.e. What is the rule for such offenses?). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sun Mar 28, 2010 7:37 pm Post subject: |
|
|
| Luminous wrote: | Opposing: can allprotection be modified, so it catches spam like this?:
| Code: |
[ user] . . . . . . . . . . . . . . ... . . . . . .
[ user] . . . . . . .. ..
[ user] ......... . . .
[ user] ... . . .
[ user] . . . ..
[ user] . . .. . . ..
|
|
I don't think this will get 100% of the above, but I believe it would get part of it. If you haven't found it yet, start reading with this post:
http://forum.egghelp.org/viewtopic.php?p=86927#86927
I hope that helps. |
|
| Back to top |
|
 |
Luminous Op
Joined: 12 Feb 2010 Posts: 146
|
Posted: Sun Mar 28, 2010 8:09 pm Post subject: |
|
|
Thanks. I had seen that section in the script, but wanted to double check before changing too much...
Regarding the spaces between the "."s... couldn't I add a string trim to: | Code: | | if {[string match -nocase *[string map {? \\?} [string repeat [string index $cl $c] $i]]* $arg]} { | to take out spaces that might occur before repeated chars? Is that feasible or would it cause ill-effects?
It also may be worth mentioning that I am still using the 4.5 version.. in case that changes anything... |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Mar 29, 2010 3:22 am Post subject: |
|
|
Try
| Code: | | if {[string match -nocase *[string map {? \\? " " ""} [string repeat [string index $cl $c] $i]]* $arg]} { |
This will remove all spaces (meaning ".. .." becomes "...." for example). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
FireWarrior Voice
Joined: 28 Oct 2008 Posts: 19
|
Posted: Mon Mar 29, 2010 3:55 pm Post subject: A noob request. |
|
|
Hello Opposing,
I’ve been using your script since 2005 and have been an unspoken fan. Forgive my noob observation, but the script would be complete in terms of functionalities if you at some time endeavour to add the following:
1. A “lag meter, disabling mass flood prot when lagged”, to quote someone else’s words
2. And the choice to:
2.1. Kick and then ban an offender , as well as
2.2. To ban and then kick the same, however it suits the user.
I understand that for a noob user like me it is easy to demand the moon without knowing how stupid/difficult it is what I’ve asked for. In that case I apologise in advance.
If however it is possible, and you incorporate it in any of your further release, then in my eyes the script will be a modern classic.
Wish you the very best in life for you continued and persistence support and development of the script. Hope life makes you as happy as I’ve been using your script.
Kind regards,
FireWarrior. |
|
| Back to top |
|
 |
Luminous Op
Joined: 12 Feb 2010 Posts: 146
|
Posted: Mon Mar 29, 2010 8:16 pm Post subject: |
|
|
Sir_Fz: Aha.. thanks, that works perfect. 
Last edited by Luminous on Sun Apr 04, 2010 9:53 pm; edited 1 time in total |
|
| Back to top |
|
 |
sotengboy Voice
Joined: 03 Jan 2010 Posts: 14
|
Posted: Wed Mar 31, 2010 9:20 am Post subject: |
|
|
hy sir...
mmm, can help me?
how to main bot auto identify without identify.tcl, like spam bot
| Code: | "001" {
putlog "\002AP\002: AntiSpamBot: Connected and registered as $antispam(cnick)."
set antispam(pong) 1; set antispam(idx) $idx
putdcc $idx "NickServ :identify $antispam(cnick) asem"
foreach c [channels] {
if {![vcg $c ap:antispam]} {continue}
if {[lindex [split [channel get $c ap:antispam]] 0] == "+"} {
putdcc $idx "join $c"
|
please reply. thanks |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Mar 31, 2010 4:16 pm Post subject: |
|
|
@FireWarrior Thank you for your suggestions, will be taken into consideration
@sotengboy Use a script for identification. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Luminous Op
Joined: 12 Feb 2010 Posts: 146
|
Posted: Sun Apr 04, 2010 10:39 pm Post subject: |
|
|
Sir_Fz:
I have noticed that my bot sometimes randomly bans people who leave the channel who do not have flags/a chanrec. Not even join/parts... just people who were talking and decided to call it a night sometimes get banned after they leave. And the bot does not remove the bans either. I have messed with the join/part settings.. tried to disable it, etc... but nothing seems to actually disable it, or fix it. Or perhaps I am not looking in the right area of the script? :\
Any idea why this happens? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Apr 05, 2010 9:09 am Post subject: |
|
|
To make sure that this behavior is caused by the script, execute .ap:monitor in your DCC and see if any of the hosts being banned are being monitored by the script. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Luminous Op
Joined: 12 Feb 2010 Posts: 146
|
Posted: Mon Apr 05, 2010 10:19 am Post subject: |
|
|
[me] .ap:monitor
[bot] What? You need '.help'
I am using 4.5., btw... |
|
| Back to top |
|
 |
Spectre Voice
Joined: 16 Aug 2009 Posts: 15
|
Posted: Mon Apr 05, 2010 1:26 pm Post subject: |
|
|
ok new with eggs tried use this tcl and got these
[17:13] Tcl error [text:char]: can't read "o": no such variable
[17:13] Tcl error [text:line]: can't read "o": no such variable
[17:13] Tcl error [caps:kick]: can't read "p": no such variable
[17:13] Tcl error [text:char]: can't read "o": no such variable
[17:13] Tcl error [text:line]: can't read "o": no such variable
any idea how can sort ?
thanks  |
|
| Back to top |
|
 |
Luminous Op
Joined: 12 Feb 2010 Posts: 146
|
Posted: Mon Apr 05, 2010 1:47 pm Post subject: |
|
|
| I get those sometimes as well... also I get one about [mass:kick] and [mass:ban], but I don't have the logs available at this moment... |
|
| Back to top |
|
 |
|