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 ... 76, 77, 78 ... 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
FireWarrior
Voice


Joined: 28 Oct 2008
Posts: 19

PostPosted: Sat Mar 13, 2010 1:01 am    Post subject: Reply with quote

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


Joined: 12 Feb 2010
Posts: 146

PostPosted: Sun Mar 28, 2010 5:11 pm    Post subject: Reply with quote

Opposing: can allprotection be modified, so it catches spam like this?:

Code:

 [ user] .  .   . . . . .  .            .            .            . .           .            .  ...          .      .  .                 . .           .
 [ user] .  .           . . .         . ..          ..
 [ user] .........      . .  .         
 [ user] ...        . .          .
 [ user] .              .             .    ..
 [ user]      . .                .. .  .  ..
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Mar 28, 2010 6:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Mar 28, 2010 7:37 pm    Post subject: Reply with quote

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


Joined: 12 Feb 2010
Posts: 146

PostPosted: Sun Mar 28, 2010 8:09 pm    Post subject: Reply with quote

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


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Mar 29, 2010 3:22 am    Post subject: Reply with quote

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


Joined: 28 Oct 2008
Posts: 19

PostPosted: Mon Mar 29, 2010 3:55 pm    Post subject: A noob request. Reply with quote

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


Joined: 12 Feb 2010
Posts: 146

PostPosted: Mon Mar 29, 2010 8:16 pm    Post subject: Reply with quote

Sir_Fz: Aha.. thanks, that works perfect. Smile

Last edited by Luminous on Sun Apr 04, 2010 9:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
sotengboy
Voice


Joined: 03 Jan 2010
Posts: 14

PostPosted: Wed Mar 31, 2010 9:20 am    Post subject: Reply with quote

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


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Mar 31, 2010 4:16 pm    Post subject: Reply with quote

@FireWarrior Thank you for your suggestions, will be taken into consideration Smile

@sotengboy Use a script for identification.
_________________
Follow me on GitHub

- Opposing

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


Joined: 12 Feb 2010
Posts: 146

PostPosted: Sun Apr 04, 2010 10:39 pm    Post subject: Reply with quote

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


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Apr 05, 2010 9:09 am    Post subject: Reply with quote

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


Joined: 12 Feb 2010
Posts: 146

PostPosted: Mon Apr 05, 2010 10:19 am    Post subject: Reply with quote

[me] .ap:monitor
[bot] What? You need '.help'

I am using 4.5., btw...
Back to top
View user's profile Send private message
Spectre
Voice


Joined: 16 Aug 2009
Posts: 15

PostPosted: Mon Apr 05, 2010 1:26 pm    Post subject: Reply with quote

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


Joined: 12 Feb 2010
Posts: 146

PostPosted: Mon Apr 05, 2010 1:47 pm    Post subject: Reply with quote

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
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 ... 76, 77, 78 ... 88, 89, 90  Next
Page 77 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