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.

Escape characters

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Escape characters

Post by ultralord »

Hello again.. i have one tcl script but when someone have nick with " { } " char tcl have problem.. how i can resolve this problem ?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

This would usually indicate that the script uses lists in an inappropriate manner, or possibly timers and similar in an insecure manner.
Although escaping these characters may seem to fix the problem, it really only hides it. A better solution would be to correct the cause of those issues.

Think you could provide some info on the script in question (source or location of source, etc)?
NML_375
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

fixed:D
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

ultralord wrote:i use pwf.tcl but i edited.. but the script have problem when user add in pickup game if have { } character in his nick.. i cant fix that problem?
You edit a script and either create an error or stumble across one then, when given advice/links, do NOT bother to take said advice let alone actually READ anything or even make an effort. :roll:

rosc2112 gave you the link to a very readable solution that does require YOU to do something as a way of learning.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply