| View previous topic :: View next topic |
| Author |
Message |
mp35486 Voice
Joined: 09 Jun 2005 Posts: 8
|
Posted: Fri Jun 10, 2005 5:25 am Post subject: Badnick3.0.tcl problem |
|
|
Hi!
I loaded Badnick3.0.tcl from Prince_of_the_net.
As instructed, first I loaded his counter.tcl.
From my eggdrop.conf file:
set logo "<<$botnick>>"
source scripts/counter.tcl
source scripts/Badnick3.0.tcl
but, the problem is, this script matches any nick and kicks them regulary.
I even put only:
set bnick {
"*[censored]*"
}
in Badnick3.0.tcl in config section.
Did anybody else have problems with this script?
Thanks!
M. |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Mon Jun 13, 2005 5:33 am Post subject: |
|
|
You should set it like this, so as to escape special tcl characters:
| Code: |
set bnick {
"*\[censored\]*"
}
|
_________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Jun 13, 2005 5:43 am Post subject: |
|
|
There's no need to escape special characters in a list. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Mon Jun 13, 2005 5:55 am Post subject: |
|
|
From what I know, that is also a very obsolete script, use a new script. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
mp35486 Voice
Joined: 09 Jun 2005 Posts: 8
|
Posted: Fri Jun 17, 2005 5:17 am Post subject: |
|
|
| Sir_Fz wrote: | | There's no need to escape special characters in a list. |
Hi!
When I use pattern like this:
"*|*"
this dos not work.
I tried to escape |:
"*\|*"
but this didn't help me either...
M. |
|
| Back to top |
|
 |
mp35486 Voice
Joined: 09 Jun 2005 Posts: 8
|
Posted: Fri Jun 17, 2005 5:22 am Post subject: |
|
|
| awyeah wrote: | | From what I know, that is also a very obsolete script, use a new script. |
I thought that was the latest one:
http://www.egghelp.org/tclhtml/3478-4-0-0-1-badnick.htm
Can you point me to newer script if available?
Thanks!
M. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
|