A) This is not the forum to ask about programming. Do that in the Programming forum, it's there for a reason.
B) There is already a topic on tcl scripting, and if you hadn't found an answer to your question, you could (& should) have asked on that topic. The topic can be found here:
http://forums.phoenix-hosting.org/viewtopic.php?t=980 .
C) In future, if you have a query use the search feature. It can be found at the top below the logo, and that too is there for a reason.
D) You have contributed with 17 posts, you've been here nearly two weeks, you'd think you would have learned how forums work by now?