This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
i
idol
Voice
Posts: 4
Joined: Mon Aug 31, 2009 3:45 am

Post by idol »

thx sir_Fz
I've do it.
problem resolved!
:D
User avatar
Thanhas
Op
Posts: 124
Joined: Sat Sep 02, 2006 11:14 am
Location: Ottawa, Canada

hello

Post by Thanhas »

Sorry sir_Fz its not the errer on beta its on the 4.5 but i couldnt find some other place to paste my problem

Code: Select all

[03:42] Tcl error [btext:chars]: invalid command name "clock"
[03:42] Tcl error [btext:line]: invalid command name "clock"
03:42] Tcl error [repeat:kick]: invalid command name "clock"
03:42] Tcl error [text:char]: invalid command name "clock"
[03:42] Tcl error [text:line]: invalid command name "clock"
[03:42] Tcl error [bjoinf:lock]: invalid command name "clock"
[03:41] Tcl error [incith::google::public_message]: unknown encoding "ascii"
 [03:42] Tcl error [incith::google::public_message]: unknown encoding "ascii"
since my shells providers chnaged there security Patches from 2 to v4 i face this issue can someone please tell me what errer is that about?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

[clock] is a valid Tcl command. This is not a problem with AllProtection, make sure you do not have some other script loaded which renamed the [clock] command.
User avatar
Thanhas
Op
Posts: 124
Joined: Sat Sep 02, 2006 11:14 am
Location: Ottawa, Canada

Post by Thanhas »

Sir_Fz wrote:[clock] is a valid Tcl command. This is not a problem with AllProtection, make sure you do not have some other script loaded which renamed the [clock] command.

Code: Select all

[10:12:13] <(HosTer> [05:12] Tcl error [text:char]: invalid command name "clock"
[10:12:13] <(HosTer> [05:12] Tcl error [text:line]: invalid command name "clock"
[10:12:13] <(HosTer> [05:12] Tcl error [btext:chars]: invalid command name "clock"
[10:12:13] <(HosTer> [05:12] Tcl error [btext:line]: invalid command name "clock"
[10:12:13] <(HosTer> [05:12] Tcl error [repeat:kick]: invalid command name "clock"
[10:12:13] <(HosTer> [05:12] Tcl error [text:char]: invalid command name "clock"
[10:12:13] <(HosTer> [05:12] Tcl error [text:line]: invalid command name "clock"
[10:12:22] <(HosTer> [05:12] Tcl error [btext:chars]: invalid command name "clock"
[10:12:22] <(HosTer> [05:12] Tcl error [btext:line]: invalid command name "clock"
[10:12:23] <(HosTer> [05:12] Tcl error [repeat:kick]: invalid command name "clock"
[10:12:23] <(HosTer> [05:12] Tcl error [text:char]: invalid command name "clock"
[10:12:23] <(HosTer> [05:12] Tcl error [text:line]: invalid command name "clock"
[10:12:25] <(HosTer> [05:12] Tcl error [massk:kick]: invalid command name "clock"
[10:12:36] <(HosTer> [05:12] Tcl error [bjoinf:lock]: invalid command name "clock"
[10:12:39] <(HosTer> [05:12] Tcl error [btext:chars]: invalid command name "clock"
[10:12:39] <(HosTer> [05:12] Tcl error [btext:line]: invalid command name "clock"
[10:12:39] <(HosTer> [05:12] Tcl error [repeat:kick]: invalid command name "clock"
[10:12:40] <(HosTer> [05:12] Tcl error [text:char]: invalid command name "clock"
[10:12:40] <(HosTer> [05:12] Tcl error [text:line]: invalid command name "clock"
[10:12:40] <(HosTer> [05:12] Tcl error [bnickf:lock]: invalid command name "clock"
i removed all other TCL only All Protection is remining even i download new one and installed but still the same

will you please give me suggestions

thanks
User avatar
Thanhas
Op
Posts: 124
Joined: Sat Sep 02, 2006 11:14 am
Location: Ottawa, Canada

Post by Thanhas »

Hello

whats the link for the beta i will use beta the old V is now getting more complecatied


Thanks give me updated Allprotections 4.6b Link to download with all added new researches of this forum.

i add these commands to work which i uset to do on Allprotections

Code: Select all

.chanset * ap:textl 5:2
.chanset * ap:textc 215:3
.chanset * ap:notcl 1:3
.chanset * ap:notcc 200:3
.chanset * ap:caps 60:90
.chanset * ap:repeatl 3:10
.chanset * ap:repeatc 0
.chanset * ap:codes {r:35 b:35 u:35 c:35}
.chanset * ap:adv +
.chanset * ap:swear +
.chanset * ap:ctcps 2:30
.chanset * ap:massd 5:1
.chanset * ap:massk 8:2
.chanset * ap:massb 18:2
.chanset * ap:limit 0
.chanset * ap:cjoin 3:2
.chanset * ap:partmsgs 0
.chanset * ap:partmsgc r:35 b:35 u:35 c:35
.chanset * ap:revdoor 3
.chanset * ap:nickf 4:12
.chanset * ap:clones 3
.chanset * ap:bnicks +
.chanset * ap:drones +
.chanset * ap:bidents +
.chanset * ap:btextl 15:7
.chanset * ap:btextc 550:3
.chanset * ap:bnotcl 4:2
.chanset * ap:bnotcc 500:3
.chanset * ap:bctcp 4:60
.chanset * ap:massjoin 9:3
.chanset * ap:brevdoor 5:3
.chanset * ap:bpartmsg 5:3
.chanset * ap:bnickf 5:30
.chanset * +dontkickops
.chanset * +seen
and the chaninfo is

Code: Select all

 <Avoid> .chaninfo
 <(HosTer> Settings for static channel #ChatAway:
 <(HosTer> Protect modes (chanmode): +tn
 <(HosTer> Idle Kick after (idle-kick): DON'T!
 <(HosTer> stopnethack: DON'T!
 <(HosTer> aop-delay: 0:0
 <(HosTer> revenge-mode: 0
 <(HosTer> ban-time: 0
 <(HosTer> exempt-time: 60
 <(HosTer> invite-time: 60
 <(HosTer> Other modes:
 <(HosTer>      -inactive       -statuslog      -secret         +shared
 <(HosTer>      -greet          +seen           -cycle          +dontkickops
 <(HosTer>      -protectops     -protectfriends -revenge        -revengebot
 <(HosTer>      -bitch          -autoop         -autovoice      +nodesynch
 <(HosTer>      -enforcebans    -dynamicbans    +userbans       -autohalfop
 <(HosTer>      -protecthalfops
 <(HosTer>      +dynamicexempts +userexempts    +dynamicinvites +userinvites
 <(HosTer> User defined channel flags:
 <(HosTer>      -noseendata -quietseens -quietaiseens -nopubseens
 <(HosTer>      -google -dictionary -ipcheck -voiceall
 <(HosTer> User defined channel strings:
 <(HosTer> ap:textl: 4:2
 <(HosTer> ap:textc: {215:3 120 kb 2}
 <(HosTer> ap:notcl: {1:3 120 kb 2}
 <(HosTer> ap:notcc: {200:3 180 kb 2}
 <(HosTer> ap:caps: {60:90 120 kb 2}
 <(HosTer> ap:repeatl: {3:10 60 k:kb 2}
 <(HosTer> ap:repeatc: {25 30 w:k:kb 2}
 <(HosTer> ap:codes: {r:35 b:80 u:80 c:80 90 kb 2}
 <(HosTer> ap:adv: {+ 180 kb 2}
 <(HosTer> ap:swear: {+ 120 kb 2}
 <(HosTer> ap:ctcps: {2:30 180 kb 2}
 <(HosTer> ap:massd: {5:1 30 kb 2}
 <(HosTer> ap:massk: {8:2 30 kb 2}
 <(HosTer> ap:massb: {18:2 30 kb 2}
 <(HosTer> ap:limit: 0
 <(HosTer> ap:cjoin: {3:2 120 kb 2}
 <(HosTer> ap:partmsgs: {180 120 kb 2}
 <(HosTer> ap:partmsgs: {180 120 kb 2}
 <(HosTer> ap:partmsgc: {r:35 b:35 u:35 c:35 30 kb 2}
 <(HosTer> ap:revdoor: {3 120 kb 2}
 <(HosTer> ap:nickf: {4:12 60 w:k:kb 2}
 <(HosTer> ap:clones: {8 120 kb 2}
 <(HosTer> ap:bnicks: {+ 120 kb 2}
 <(HosTer> ap:drones: {+ 180 45 2}
 <(HosTer> ap:bidents: {+ 120 kb 2}
 <(HosTer> ap:btextl: {15:7 mR-k lines.flood 60}
 <(HosTer> ap:btextc: {550:3 mR-k chars.flood 60}
 <(HosTer> ap:bnotcl: {4:2 mR-k lines.flood 60}
 <(HosTer> ap:bnotcc: {500:3 mR-k chars.flood 60}
 <(HosTer> ap:bctcp: {4:60 mR-k ctcp.flood 60}
 <(HosTer> ap:massjoin: {9:3 mR-k join.flood 60}
 <(HosTer> ap:brevdoor: {5:3 mR-k revdoor.flood 60}
 <(HosTer> ap:bpartmsg: {5:3 mR-k partmsg.flood 60}
 <(HosTer> ap:bnickf: {5:30 mR-k nick.flood 60}
 <(HosTer> ap:antispam: {- + 10 10}
 <(HosTer> ap:pqsadv: {s:1 a:1}
 <(HosTer> ap:bchans: {- 90 kb 2 0}
 <(HosTer> ap:echans: {0 60 w:kb 2 0}
 <(HosTer> ap:bctcrs: {- 120 kb 2 0}
 <(HosTer> ap:ctcpchecks: VERSION
 <(HosTer> ap:bcodes: {25:3 mR-k codes.flood 60}
 <(HosTer> flood settings: chan ctcp join kick deop nick
 <(HosTer> number:            0    3    5    0    0    5
 <(HosTer> time  :            0   60   10    0    0   20
 <(HosTer> [12:21] #Avoid# chaninfo #ChatAway

This is the Errer's of beta i have just recompiled all Eggdrop

Code: Select all

<(HosTer> [12:17] Tcl error [::AllProtection::joins drones]: invalid command name "clock"
<(HosTer> [12:17] Tcl error [::AllProtection::joins massjoin]: invalid command name "clock"
<(HosTer> [12:17] Tcl error [::AllProtection::joins cjoin]: invalid command name "clock"
<(HosTer> [12:17] Tcl error [::AllProtection::joins drones]: invalid command name "clock"
<(HosTer> [12:17] Tcl error [::AllProtection::joins massjoin]: invalid command name "clock"
<(HosTer> [12:17] Tcl error [::AllProtection::joins cjoin]: invalid command name "clock"




Thank you
Last edited by Thanhas on Mon Oct 19, 2009 8:28 am, edited 1 time in total.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Make sure you .restart after removing all other script (otherwise, the changes are still in effect).

The links to the latest version are posted in this thread's first post.

Edit: If this is a Tcl issue (not Eggdrop) then contact your Shell administrators about the problem.
User avatar
Thanhas
Op
Posts: 124
Joined: Sat Sep 02, 2006 11:14 am
Location: Ottawa, Canada

Post by Thanhas »

Sir_Fz wrote:Make sure you .restart after removing all other script (otherwise, the changes are still in effect).

The links to the latest version are posted in this thread's first post.

Edit: If this is a Tcl issue (not Eggdrop) then contact your Shell administrators about the problem.

thanks for the replay but i still face the isuue :( please check the post again
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

The problem is not related to the script. You have previously stated that this error started after an upgrade done on your shell, so I recommend you contact your shell administrators about this problem.
User avatar
Thanhas
Op
Posts: 124
Joined: Sat Sep 02, 2006 11:14 am
Location: Ottawa, Canada

Post by Thanhas »

Hello Is that possible to setup a Antispam bot in the same TCL ?

and please give me with all Guide coz i am dumb in tcl work

Thanks
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

It's pretty simple, you just have to read.

Code: Select all

# Use: .chanset #channel ap:antispam + <greet> <cycle-time> <idle-time> (to enable)
# the antispam bot will not cycle a channel where last join occured in <idle-time> or more minutes.
# <greet> is either + or - which will enable or disable the on-join message.
# set default value here:
lappend ap:udefs {ap:antispam "- + 10 10"}

# AntiSpamBot basic settings
# You can edit all these settings as you wish
# example: set antispam(nick) AntiSpamBot
set antispam(nick) $altnick
set antispam(altnick) ${altnick}1
# Antispam ident & real name
set antispam(user) AP
set antispam(realname) "AllProtection Anti-Spam"
# example: set antispam(ip) 127.0.0.1
set antispam(ip) ${my-ip}
# example: set antispam(host) my.lame.vhost.net
set antispam(host) ${my-hostname}
User avatar
Thanhas
Op
Posts: 124
Joined: Sat Sep 02, 2006 11:14 am
Location: Ottawa, Canada

Post by Thanhas »

Hello

Thanks alot so fast replay
all i need to do is Edit and paste in allProtection bot right ? ":)
i did it but its coming with the botnick + a number like Hoster is bot nick it come online with hoster6
still there is no effect it dosnt kick the inviter i tested it but no effect

.chanset #chataway ap:antispam + hello 30 5
[quote="Sir_Fz"]It's pretty simple, you just have to read.

Code: Select all

# Use: .chanset #channel ap:antispam + <greet> <cycle-time> <idle-time> (to enable)
# the antispam bot will not cycle a channel where last join occured in <idle-time> or more minutes.
# <greet> is either + or - which will enable or disable the on-join message.
# set default value here:
lappend ap:udefs {ap:antispam "- + 10 10"}

# AntiSpamBot basic settings
# You can edit all these settings as you wish
# example: set antispam(nick) AntiSpamBot
set antispam(nick) $altnick
set antispam(altnick) ${altnick}1
# Antispam ident & real name
set antispam(user) AP
set antispam(realname) "AllProtection Anti-Spam"
# example: set antispam(ip) 127.0.0.1
set antispam(ip) ${my-ip}
# example: set antispam(host) my.lame.vhost.net
set antispam(host) ${my-hostname}
[/quote
and also see this

Code: Select all

<k1nderuTza> good evening everybody ... are a nice girl looking nice ... another girl who wants to join me in private to talk ... vam kissed
* k1nderuTza was kicked by HosTer (Advertising detected. (**join **) :: [Wed Oct 28 17:07:12 2009] - Banned 180 minutes ·8308·)
* HosTer sets mode: +b *!*@nb37-98.static.cytanet.com.cy
i changed

Code: Select all

set adwords(global) { "*join *" "*plz visit*" }
to

Code: Select all

set adwords(global) { "" "" }
but still doing kick on word join :((

Please tell me how to fix that 2
Thanks



]
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

The settings I posted are quoted from the script itself. There is no need to copy/paste anything since it's already there. Unfortunately, you're still not reading (which is the single most important thing for you to do in order to correctly use the script). You can modify the settings as you wish, for example:

To use a custom nickname for your antispam bot, replace:
set antispam(nick) $altnick
with
set antispam(nick) YOUR_NEW_NICK
So basically, you just have to modify $altnick to whatever you want. Same goes with all the script's settings.

When you want to change the list of advertising words, use the .ap:add DCC command (which is documented in the script's header, so READ it).
User avatar
Thanhas
Op
Posts: 124
Joined: Sat Sep 02, 2006 11:14 am
Location: Ottawa, Canada

Post by Thanhas »

Hello thanks okey i understand the Nick issue but tell me how can i use .ap:add ? please give me a hint

[05:35:50:29:10:09] <Applets> .ap:add
[05:35:51:29:10:09] <(HosTer> AP: SYNTAX: .ap:add <bchans/bnicks/bidents/bwords/adexempts/droneexempts/bctcrs/adwords/greetexempts> <#chan/global> <bad chans/nicks/idents/bwords/adexempts/droneexempts/bctcrs/adwords/greetexempts>.


and tell me where to add the spam words in Spambot like #chan # www. http://
?
Thank you

Sir_Fz wrote:The settings I posted are quoted from the script itself.There is no need to copy/paste anything since it's already there. Unfortunately, you're still not reading (which is the single most important thing for you to do in order to correctly use the script). You can modify the settings as you wish, for example:

To use a custom nickname for your antispam bot, replace:
set antispam(nick) $altnick
with
set antispam(nick) YOUR_NEW_NICK
So basically, you just have to modify $altnick to whatever you want. Same goes with all the script's settings.

When you want to change the list of advertising words, use the .ap:add DCC command (which is documented in the script's header, so READ it).
s
sk-4
Halfop
Posts: 51
Joined: Sat Oct 06, 2007 6:37 am

Post by sk-4 »

Thanhas try
..> .ap:add adwords #channel #spamwords
but the word (#,http:// ftp:// /server www. ) allreddy build in inside the script

this is the standard adsword build in by mr.FZ script

if {![regexp {(^|\s)((www\.|#)[^\s]|ftp://|http://|(/server|//(\.?)write)\s)} $arg advword]} {
User avatar
Thanhas
Op
Posts: 124
Joined: Sat Sep 02, 2006 11:14 am
Location: Ottawa, Canada

Post by Thanhas »

The bot dose not kick anyone on PM invite/spam to the spambot please tell me why ?
Post Reply