aleepervaiz wrote:
....that should read the kick number from that text file
...
I had some time on me so I played around with the script and did some changes and what not. Implemented the bk (ban + kick) punishment method. Please try it out in version 4.9b from https://github.com/sirfz/allprotection.tcl/releasessimo wrote:i am using allprotection.tcl for a while and was wondering why kick is executed first and not ban setting cause many client have the option for instant join after kick so it seems inieffiecient so set kick first then the ban part
is there a way to change that
tnx
As far as I'm concerned, the spambot connects to the same server as your Eggdrop (it uses the settings from your bot's config). Is it possible you forgot a DALnet server in the server list and the spambot connected to it?OPAgusta wrote:I first used this script on Dalnet and antispam bot connected to Dalnet, no problemo.
The problem came when I decided to move to another server. I edited the bot.conf file accordingly, delete my bot.chan files. The main bot connects to another server, no problem, but the antispam bot still connects to Dalnet.
The antispam bot is disabled by default so I used .chanset command, and I could see it connected to dalnet. I went to dalnet and whois the antispam bot and it is there.
Any help will be greatly appreciated, thanks.
you can call AllProtection's getkcount to get the kick numbers and integrate it in your script. For examplealeepervaiz wrote:Hi Sir,
Hope you are doin great. i need some help from you. I want to add kick counter in my current tcl. i want my eggdrop to add the kick number in the kick message. i am already using allprotection which comes with kick counter and it saves the text file of kick numbers. So now i wanted to add the kick counter in another tcl and that should read the kick number from that text file and also add +1 in the existing text file
Regards,
Ali Pervaiz
Code: Select all
putquick "KICK $chan $nick :get out of here! kick #[::AllProtection::getkcount]"
Code: Select all
Tcl error [::AllProtection::pubms swear]: invalid command name "punishments(kb)"
Tcl error [::AllProtection::pubms repeatl]: invalid command name "punishments(k)"
Tcl error [::AllProtection::pubms textc]: invalid command name "punishments(kb)"
Thanks for the feedback gasak. My TCL skills are in ruins, and I'm not testing any of the new changes (relying on user feedback). Please try the new release v4.9b3: https://github.com/sirfz/allprotection. ... tag/v4.9b3gasak wrote:I try the new version 4.9b but comes with this error:
Please advice. Thanks.Code: Select all
Tcl error [::AllProtection::pubms swear]: invalid command name "punishments(kb)" Tcl error [::AllProtection::pubms repeatl]: invalid command name "punishments(k)" Tcl error [::AllProtection::pubms textc]: invalid command name "punishments(kb)"
Code: Select all
can't read "_VERSION": no such variable
while executing
"ezilamn $_VERSION"
(procedure "load" line 63)
invoked from within
"load"
(in namespace eval "::AllProtection" script line 2642)
invoked from within
"namespace eval AllProtection {
# Basic declarations: (don't touch)
variable declr
foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
(file "scripts/allprotection.tcl" line 153)
invoked from within
"source scripts/allprotection.tcl"
I thought I've already fixed this issue way back but seems it never got to this branch (my bad). Re-download it now from https://github.com/sirfz/allprotection. ... s/tag/v4.8creasy wrote:Hello!
I've been having this error with v4.8 when I rehash the bot:When I start the bot it starts up fine, but when I rehash it it crashes. Any ideas what could be wrong?Code: Select all
can't read "_VERSION": no such variable while executing "ezilamn $_VERSION" (procedure "load" line 63) invoked from within "load" (in namespace eval "::AllProtection" script line 2642) invoked from within "namespace eval AllProtection { # Basic declarations: (don't touch) variable declr foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..." (file "scripts/allprotection.tcl" line 153) invoked from within "source scripts/allprotection.tcl"