I can't seem to figure out how to check if a string consist of just numbers or if there is any other chars in it.. I've tried "string is" but it didn't seem to work :/ Any ideas?
well, 'string is digit $var' will work if you're using a newer tcl version. if you got old tcl version, then you can use something like 'catch {incr var}', which will return 0 if its an integer, and 1 if not (note that the variable is declared with no $ in the incr)