| View previous topic :: View next topic |
| Author |
Message |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Sep 22, 2006 12:38 pm Post subject: |
|
|
| exhuman wrote: | Hi,
I didn't able to use Bad Channel features... manually i only edit global bad channel and run
.chanset #mychannelname + 30 kb 2
but BOT didn't kicking what i mention in global bad channel
Thanks in Advance for help |
If you have a badchan list for #mychannelname then the bot won't use the global badchan list. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
coke-coke Voice
Joined: 27 Oct 2005 Posts: 2 Location: indonesia
|
Posted: Fri Sep 29, 2006 3:09 pm Post subject: |
|
|
can u add one protection option in next version Sir Fz? like badword in a host/vhost called bad host.
Thx |
|
| Back to top |
|
 |
dohko2006 Voice
Joined: 19 Mar 2006 Posts: 8
|
Posted: Sat Sep 30, 2006 11:27 am Post subject: |
|
|
I have this error in 4.5
Bot banned users:
[09:30] #channel: mode change '+b user!*@*' by bot@foobar.com
[09:30] Tcl error [text:char]: invalid command name "clock"
[09:30] Tcl error [text:line]: invalid command name "clock"
[09:30] Tcl error [repeat:kick]: invalid command name "clock"
[09:30] Tcl error [text:char]: invalid command name "clock"
[09:30] Tcl error [text:line]: invalid command name "clock"
set errorInfo
Currently: invalid command name "clock"
Currently: while executing
Currently: "clock clicks -milliseconds"
Currently: (procedure "follow" line 4)
Currently: invoked from within
Currently: "follow $s txtf([string tolower $uhost:$chan]) $o"
Currently: (procedure "text:line" line 5)
Currently: invoked from within
Currently: "text:line $_pubm1 $_pubm2 $_pubm3 $_pubm4 $_pubm5"
I use eggdrop 1.6.18
I use ap:reset #mychannel
I restart ... i delete .chan ... help me plz
With version 4.6b5 have same error "clock"
Thx |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Sep 30, 2006 7:21 pm Post subject: |
|
|
Use ALL PROTECTION 4.6b5 (BETA 5) with eggdrop 1.6.18.
Firstly kill the bot then delete both .chan AND .chan~bak and restart your bot with the new script.
I use this script extensively and have never seen an error as you have encountered. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
dohko2006 Voice
Joined: 19 Mar 2006 Posts: 8
|
Posted: Sun Oct 01, 2006 11:17 am Post subject: |
|
|
| Alchera wrote: | Use ALL PROTECTION 4.6b5 (BETA 5) with eggdrop 1.6.18.
Firstly kill the bot then delete both .chan AND .chan~bak and restart your bot with the new script.
I use this script extensively and have never seen an error as you have encountered. |
Ok...
ps x
PID TTY STAT TIME COMMAND
22978 ? S 2:58 ./eggdrop bot.conf
30284 ? S 0:00 sshd: bot@notty
30285 ? Ss 0:00 /usr/libexec/openssh/sftp-server
30339 ? S 0:00 sshd: bot@pts/3
30341 pts/3 Ss 0:00 -bash
30363 pts/3 R+ 0:00 ps x
kill 22978
and delete both .chan and .chan~bak (via ftp)
Change to 4.6b5 (in .conf) (no major changes in tcl)
./eggdrop bot.conf
| Code: | Eggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 Eggheads
[09:54] --- Loading eggdrop v1.6.18 (Sun Oct 1 2006)
[08:54] Listening at telnet port XXXX (all).
[08:54] Module loaded: channels
[08:54] Module loaded: dns
[08:54] Module loaded: transfer (with lang support)
[08:54] Module loaded: share
[08:54] Module loaded: server
[08:54] Module loaded: ctcp
[08:54] Module loaded: irc
[08:54] Module loaded: notes (with lang support)
[08:54] Module loaded: console (with lang support)
[08:54] Module loaded: blowfish
[08:54] Module loaded: uptime
[08:54] All Protection v4.6b5 by Opposing Loaded...
[08:54] ChanservNeed v1.4.6 loaded
[08:54] Creating channel file
[08:54] Userfile loaded, unpacking...
[08:54] === Bot: 1 channels, 4 users.
Launched into the background (pid: 30367)
|
| Code: | [09:03] Tcl error [::AllProtection::pubms btextc]: invalid command name "clock"
[09:03] Tcl error [::AllProtection::pubms btextl]: invalid command name "clock"
[09:03] Tcl error [::AllProtection::pubms bcodes]: invalid command name "clock"
[09:03] Tcl error [::AllProtection::pubms repeatl]: invalid command name "clock"
[09:03] Tcl error [::AllProtection::pubms textc]: invalid command name "clock"
[09:03] Tcl error [::AllProtection::pubms textl]: invalid command name "clock"
[09:03] Tcl error [::AllProtection::joins drones]: invalid command name "clock"
[09:03] Tcl error [::AllProtection::joins massjoin]: invalid command name "clock"
[09:03] Tcl error [::AllProtection::joins cjoin]: invalid command name "clock" |
| Code: |
set errorInfo
Currently: invalid command name "clock"
Currently: while executing
Currently: "clock clicks -milliseconds"
Currently: (procedure "follow" line 4)
Currently: invoked from within
Currently: "follow $s apjoinf($h) $j"
Currently: ("cjoin" arm line 9)
Currently: invoked from within
Currently: "switch -- $flood {
Currently: "cjoin" {
Currently: variable joinflood ; variable apjoinf ; variable apjoinfn
Currently: foreach {j s} [cgsplit $off] {break}
Currently: if {[invalid:ap..."
Currently: (procedure "::AllProtection::joins" line 5)
Currently: invoked from within
Currently: "::AllProtection::joins cjoin $_jp1 $_jp2 $_jp3 $_jp4"
|
Any Ideas?
Thx  |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sun Oct 01, 2006 12:56 pm Post subject: |
|
|
Your TCL is broken, clock has been part of TCL since ages. I could only imaging it couldnt find time.h or something liek that. _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Oct 01, 2006 7:25 pm Post subject: |
|
|
If this your own box dohko2006 simply use your package manager to re-install Tcl (and appropriate libraries).
If not, then contact your shell administrator.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
coke-coke Voice
Joined: 27 Oct 2005 Posts: 2 Location: indonesia
|
Posted: Wed Oct 11, 2006 12:48 am Post subject: |
|
|
Sir Fz, i don`t see option auto kline in Revolving Door, can u help me how to add that. I don`t want my bot ban the offender, but i want KLine offender. Or maybe any guys here can recomendated any tcl scripts to do that.
Thx |
|
| Back to top |
|
 |
kash2k Voice

Joined: 25 Aug 2006 Posts: 18 Location: India
|
Posted: Sun Oct 15, 2006 6:06 am Post subject: |
|
|
Sir Fz .. Your script runs fine...
I want the bot to delete the aop access of the op who the bot find to be trying to masskick.
The two lines I added in your masskick procedure are marked in gray.
proc massk:kick {nick uhost hand chan targ rsn} {
global masskick msskick serv
config:lim $nick $uhost $hand $chan $targ $rsn
foreach {o s} [split [channel get $chan ap:massk] :] {break}
if {($nick == $targ) || [invalid:apf $o $s] || [matchattr $hand f|f $chan] || [matchattr $hand mo|mo $chan]} {return 0}
if {[set ts [follow $s msskick([string tolower $uhost:$chan]) $o]] != -1} {
if {$masskick(deop)} {
putquick "$serv(nick) :[string map [list %chan $chan %nick $nick] $serv(command)]"
if {[botisop $chan]} {
putquick "MODE $chan -o $nick"
putserv "chanserv aop #soulmate del nick"
putserv "privmsg $nick :aop access deleted for masskick"
}
}
punish:method $masskick(pmeth) $nick $uhost $chan [ap:mapr $masskick(kmsg) "$o kicks in $ts secs"] $masskick(wmsg) $masski$
}
}
Still the bot would kick the op with a message "mass kick, go sit in a corner"
I have this message no where in the TCL ..I dont know where it comes from.
Regards,
kash2k |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Oct 15, 2006 9:41 am Post subject: |
|
|
| Quote: | | Still the bot would kick the op with a message "mass kick, go sit in a corner" |
That is generated by eggdrop as per the 'flood-deop' setting. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Dunn Voice
Joined: 28 Jan 2006 Posts: 5
|
Posted: Sun Oct 15, 2006 7:43 pm Post subject: |
|
|
Not sure if I'm just being a moron, but I don't get the format of the channel lock thing... The default is "mR-k lines.flood" and I don't use DALnet so I'm not entirely sure what each means, but I'm thinking k is for a password and lines.flood is the password it sets? Is that right because I want to take that off and don't want something to be messed up by me removing "lines.flood" from the setting  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Oct 15, 2006 8:47 pm Post subject: |
|
|
m = Moderate
R = Registered nicks
k = Channel key
The channel is set +mR-k so that no channel key can be placed and the other two ensure that only a registered nick can send text to the channel; most flood bots do not have a registered nick.
lines.flood 60 is the locktime (in seconds) before removing the above modes. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
ERNEST Voice
Joined: 27 Mar 2006 Posts: 2
|
Posted: Tue Oct 17, 2006 1:39 am Post subject: |
|
|
| How can I migrate from ver. 4.5 to ver 4.6 or 4.6b5 whitout having to configure the new script again? is this possible? |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Tue Oct 17, 2006 3:01 am Post subject: |
|
|
Hi all
I use AllProtection 4.6b5, i run a Quizz channel, and i m having recently a Problem with my bot , since it s punishing some users for repeating lines, but that s not true, users werent repeating the same lines. More than that, the bot gives a bizarre time in the commentary of the punishment. Here is an example :
<CultureQuiz> que.8533. En quelle année s'est déroulée le 1er tour de France cycliste ?
<CultureQuiz> 1 èr indice: **** Valeur de la question : 60 Points
<CultureQuiz> 2 ème indice: 190* 30.0 secondes restantes
<wzx> 1901
<wzx> 1902
<wzx> 1909
<wzx> 1903
<CultureQuiz> Bravooo, wzx!!! Tu as eu la bonne réponse qui était -> 1903 <- en 28.734 secondes, Et tu gagnes 60 Points
* wzx was kicked by Zircona (Text repeating detected. (3 repeats in -1917088.047 secs) :: Banned 0 minutes ·2738·)
So the user WZX got punished for repeating even if he didnt repeat, and the bot says : 3 repeats in -1917088.047 secs !!!
by the way the setting for repeating lines is :
ap:repeatl: {3:3 15 k:kb 2}
some others settings are :
<Zircona> ap:textl: {0:0 15 w:k:kb 2} ( i disable this to avoid punishment when the bot lags )
<Zircona> ap:textc: {215:3 30 kb 2}
<Zircona> ap:notcl: {1:3 30 kb 2}
<Zircona> ap:notcc: {200:3 30 kb 2}
<Zircona> ap:caps: {60:90 1440 kb 2}
<Zircona> ap:codes: {r:35 b:80 u:80 c:80 30 kb 2}
<Zircona> ap:repeatl: {3:3 15 k:kb 2}
<Zircona> ap:repeatc: {50 15 w:k:kb 2}
<Zircona> ap:adv: {+ 60 k:kb 2}
<Zircona> ap:swear: {+ 1440 kb 2}
<Zircona> ap:bnicks: {+ 1440 2}
For now i disabled the repeating punishment lines to avoid any problem by doing :
ap:repeatl: {0:0 15 k:kb 2} ( is that correct ? )
But i d like to put it back, since i really want to punish users if they repeat 3 times the same lines in 3 seconds.
Can someone tell me why the bot say :
3 repeats in -1917088.047 secs , when there was no repeat ?
and how to solve that ?
Thanks in advance. |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Tue Oct 17, 2006 3:04 am Post subject: |
|
|
Hi all
I use AllProtection 4.6b5, i run a Quizz channel, and i m having recently a Problem with my bot , since it s punishing some users for repeating lines, but that s not true, users werent repeating the same lines. More than that, the bot gives a bizarre time in the commentary of the punishment. Here is an example :
<CultureQuiz> que.8533. En quelle année s'est déroulée le 1er tour de France cycliste ?
<CultureQuiz> 1 èr indice: **** Valeur de la question : 60 Points
<CultureQuiz> 2 ème indice: 190* 30.0 secondes restantes
<wzx> 1901
<wzx> 1902
<wzx> 1909
<wzx> 1903
<CultureQuiz> Bravooo, wzx!!! Tu as eu la bonne réponse qui était -> 1903 <- en 28.734 secondes, Et tu gagnes 60 Points
* wzx was kicked by Zircona (Text repeating detected. (3 repeats in -1917088.047 secs) :: Banned 0 minutes ·2738·)
So the user WZX got punished for repeating even if he didnt repeat, and the bot says : 3 repeats in -1917088.047 secs !!!
by the way the setting for repeating lines is :
ap:repeatl: {3:3 15 k:kb 2}
some others settings are :
<Zircona> ap:textl: {0:0 15 w:k:kb 2} ( i disable this to avoid punishment when the bot lags )
<Zircona> ap:textc: {215:3 30 kb 2}
<Zircona> ap:notcl: {1:3 30 kb 2}
<Zircona> ap:notcc: {200:3 30 kb 2}
<Zircona> ap:caps: {60:90 1440 kb 2}
<Zircona> ap:codes: {r:35 b:80 u:80 c:80 30 kb 2}
<Zircona> ap:repeatl: {3:3 15 k:kb 2}
<Zircona> ap:repeatc: {50 15 w:k:kb 2}
<Zircona> ap:adv: {+ 60 k:kb 2}
<Zircona> ap:swear: {+ 1440 kb 2}
<Zircona> ap:bnicks: {+ 1440 2}
For now i disabled the repeating punishment lines to avoid any problem by doing :
ap:repeatl: {0:0 15 k:kb 2} ( is that correct ? )
But i d like to put it back, since i really want to punish users if they repeat 3 times the same lines in 3 seconds.
Can someone tell me why the bot say :
3 repeats in -1917088.047 secs , when there was no repeat ?
and how to solve that ?
Thanks in advance. |
|
| Back to top |
|
 |
|