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.

Text filtering help required

Old posts that have not been replied to for several years.
Locked
r
rr21

Text filtering help required

Post by rr21 »

Hi all, i just found your very active site, and thought i would present my problem to you. Its mainly certain chrs from clients connected to the bot via my tcl script, that cause it to crash, i have tryed mc_more_tools.tcl with the filter command, this does work to a certain extent but it still doesnt catch all the errors, as is shown below.
[23:00] <Chat_Bot> [18:00] PRIVMSG #debug : Incoming Connection (9) Sent ::: PRIVMSG #Fun :{
[23:00] <Chat_Bot> [18:00] PRIVMSG #debug : Found Coresponding Server Connection (12)
[23:00] <Chat_Bot> [18:00] Tcl error [clientinreal]: unmatched open brace in list
[23:00] <Chat_Bot> [18:00] Telnet connection:
If anyone has any idea what else i could try, please let me know.
Thank you :D :D :D
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

improper handling of strings

if you need to do list operations on a string, convert it to proper tcl list first:

Code: Select all

set str [split $str]
Locked