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.

help with spamcheck1.3

Old posts that have not been replied to for several years.
Locked
K
KID

Post by KID »

hi ppl ! i have a problem with spamcheck1.3.tcl, when my bot cycle's the chan and find msg/notice/dcc onjoin he cant ban the nick if the nick have the char ] or [ or } or }. can anybody help me ?

sorry my english
D
Dakota

Post by Dakota »

You need to escape all special symbols in the Nickname, so you need to transform the variable which contains the nickname ('nick' for example) to the following way:

regsub -all "{|}|[|]" $nick "\&" nick

<font size=-1>[ This Message was edited by: Dakota on 2002-05-03 06:26 ]</font>
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

The most likely cause of the problem is the author of the script using list commands on strings (i.e. not splitting when needed) and/or not using split/list in timers.

I assume you're using the latest version of the script and you've already reported the problem to the author?

If you can't contact the author or if he/she didn't reply, you'd have to go through the script and fix it up yourself. But a better option might be to try an alternative script in the tcl archive.
Locked