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 ... 51, 52, 53 ... 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
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Sat Nov 24, 2007 2:03 am    Post subject: Reply with quote

First :
Quote:
ban-time: 0
This is not an AllProtection setting...it has nothing to do with the script. It s a native setting to the eggdrop that tell him to never remove the bans.... All AllProtection settings start with AP, like :
Code:
ap:textl: {5:2 15 k:kb 2}
ap:textc: {215:3 30 kb 2}
ap:notcl: {1:3 30 kb 2}

Second : dont touch to this :
Quote:
# If banthruX is 1, set the command here to ban through services:
set banthruX(cmd) "privmsg X :ban %chan %ban %btime %level %reason"

Third : Since you want to ban for 1 hour, then change the bantimes for every AP setting to 60 minutes, example :
.
Code:
.chanset * ap:textl 5:2 60 k:kb 2
.chanset * ap:textc 215:3 60 kb 2
.chaset * ap:notcl 1:3 60 kb 2

60 is for 60 minutes = 1 hour
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Nov 24, 2007 8:43 am    Post subject: Reply with quote

Zircon wrote:
If you want to ban through X everytime even if the banlist isnt full, change this in your .conf file :
Code:
# Set here the maximum number of bans you want the bot to set on a channel.
# Eggdrop will not place any more bans if this limit is reached. Undernet
# currently allows 45 bans, IRCnet allows 30, EFnet allows 100, and DALnet
# allows 100.
set max-bans 45


set max-bans to 0

_________________
Follow me on GitHub

- Opposing

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


Joined: 20 May 2005
Posts: 37
Location: Earth

PostPosted: Tue Nov 27, 2007 2:08 pm    Post subject: .. Reply with quote

Any possibility of exporting settings into there own configuration ? also any tips on making things easier to share other a botnet using netbots and controlling all lists via the hub .. outsite of .netupdate -file ./scripts/aplists ?
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: Tue Nov 27, 2007 7:13 pm    Post subject: Re: .. Reply with quote

X-Ception wrote:
Any possibility of exporting settings into there own configuration ?

What do you mean?
X-Ception wrote:
also any tips on making things easier to share other a botnet using netbots and controlling all lists via the hub .. outsite of .netupdate -file ./scripts/aplists ?

That's not a bad idea, I might implement it when I finally find the time.
_________________
Follow me on GitHub

- Opposing

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


Joined: 20 May 2005
Posts: 37
Location: Earth

PostPosted: Tue Nov 27, 2007 9:48 pm    Post subject: Re: .. Reply with quote

Quote:
What do you mean?

AFP is an excellent script but none the less huge, the default settings for me i take the time with then adapt as i go for specific channels needs. However on a new release its a case of cross comparing your old version with your new version to ensure your globals remain similar as the previous incarnation.

to the point! if AFP had its OWN global .conf which held settings it would be simply a case of updating the tcl which reads the settings which only need to be touched if new methods are added or updated..

hope that makes a small amount of sense
Back to top
View user's profile Send private message Visit poster's website
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Wed Nov 28, 2007 12:59 am    Post subject: Reply with quote

Quote:
Any possibility of exporting settings into there own configuration ?

No need to create its own .conf, since eachtime you upgrade, you don't need to edit the whole settings included in the new version of AllProtection, since the the script load the AP settings that exists already on the chanfile, and not the settings included in the new version of the script. I hope you don't edit all the settings eachtime you upgrade ! By the way, take a look at your chanfile .chan, and you ll see the AP settings there.

Also, if all your bots that use AllProtection are on the same shell account, you need just one aplists file for all of them, and not one for each of them.
Back to top
View user's profile Send private message
X-Ception
Voice


Joined: 20 May 2005
Posts: 37
Location: Earth

PostPosted: Wed Nov 28, 2007 7:33 am    Post subject: Reply with quote

Actually had you read my post more clearly it does state that its FOR the global settings and 2 posts up i address botnets Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Wed Nov 28, 2007 12:03 pm    Post subject: Reply with quote

Yup i read it, that s WHY i gave my commentary. My commentary was more about the global settings you talked about. I thought you were talking about the AP settings in each new release, since you didnt give an example about these "global" settings, i was wrong then. Maybe you are talking about these settings that you cannot change via the partyline, but you want to keep always when you install a new release, so you dont have to edit the new version at all. Also managing aplists under Botnet is a good idea, when the bots arent on the same shell account Smile
Back to top
View user's profile Send private message
X-Ception
Voice


Joined: 20 May 2005
Posts: 37
Location: Earth

PostPosted: Wed Nov 28, 2007 12:12 pm    Post subject: Reply with quote

Zircon wrote:
Yup i read it, that s WHY i gave my commentary. My commentary was more about the global settings you talked about. I thought you were talking about the AP settings in each new release, since you didnt give an example about these "global" settings, i was wrong then. Maybe you are talking about these settings that you cannot change via the partyline, but you want to keep always when you install a new release, so you dont have to edit the new version at all. Also managing aplists under Botnet is a good idea, when the bots arent on the same shell account Smile

your comments are welcome Smile - put it down to misunderstanding, i should have provided further input on my part.

In terms of the global config, i always run everything on a "per channel" basis via the hub, making use of .netchanset <option> then periodically syncing back with the hubs version ( forcing the leafs to switch to the hubs per channel settings )

However for globals on a new release its somewhat a pain as i need to remember what i have set for them as i like to provide a somewhat "safe" environment for the channel upon creation then tweak as the users moan to suit there needs.. so i do change a lot of the default settings would just be nice to export the global config to its own file.

Bogus trivia does this and upgrades are so much easier and rake 2 minutes, just a matter of adding any new settings introduced Wink
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: Thu Nov 29, 2007 2:59 pm    Post subject: Reply with quote

A quick solution would be splitting the "configuration" part into a separate file; you can just copy-paste them instead of editing each script separately. I'll see what I can do to improve this in the future.
_________________
Follow me on GitHub

- Opposing

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


Joined: 20 May 2005
Posts: 37
Location: Earth

PostPosted: Thu Nov 29, 2007 3:12 pm    Post subject: Reply with quote

Sir_Fz wrote:
A quick solution would be splitting the "configuration" part into a separate file; you can just copy-paste them instead of editing each script separately. I'll see what I can do to improve this in the future.

thankks Wink
Back to top
View user's profile Send private message Visit poster's website
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Sun Dec 16, 2007 3:23 am    Post subject: Reply with quote

Hi Sir_Fz how to fix this thingy:

Code:
set bchan(caw) 60

Code:
Eggdrop ap:bchans: {+ 30 w:kb 3 0}

-Eggdrop- Warning: You're on a bad chan #sex, leave it or you'll be kicked from #anthony. You have 60 seconds to leave #sex.

Eggdrop didn't kicked the user join on channel #anthony after 60 seconds which the user still on channel #sex Confused How can i fixed this.. thanks in advance. Very Happy
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Dec 18, 2007 1:49 pm    Post subject: Reply with quote

I've already discussed this with Zircon. I'm sure we fixed it but I'm not sure if it's fixed in the current version. I'll leave this one for Zircon because my memory betrays me on this one.
_________________
Follow me on GitHub

- Opposing

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


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Tue Dec 18, 2007 2:39 pm    Post subject: Reply with quote

Hello Sydneybabe

Are you sure that you have the last version v4.6b7 ? if this is the case, well replace :
Code:
if {[info exists bchan([set ch [string tolower $c:$ju]])]} {

with
Code:
if {[info exists bchan([set ch [string tolower $c:[lindex [split $ju @] 1]]])]} {
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Dec 31, 2007 7:51 pm    Post subject: Feature Request Reply with quote

I'd think that when there's an attack on a channel it would be a good idea to have the bot trigger a timed /silence as added protection for the bot:
Code:
/silence +*!*@*

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
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 ... 51, 52, 53 ... 88, 89, 90  Next
Page 52 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