Some kind of explanation of the problem would be nice...
However, one issue that's easy to see, is that you've messed up the binding, by putting a { at the end... It should not be there...
Edit:
Also, you cannot use C-style indenting as tcl is newline terminated. Structures such as below will not work simply because the commandline is terminated prematurely:
Code: Select all
command param1 param2 {param 3 with spaces}
{
param4
}
This will be interpreted as two separate commandlines.
In this example, proper code would be:
Code: Select all
command param1 param2 {param 3 with spaces} {
param4
}