Check for other error message when loading the bot, and or when you rehash.
It still sounds like TclLIB is not loaded.
Is this your own script, or a pre-made one by somebody?
If it's your own, you need to load the library.
Tcl has a package system, that is dynamic in nature, the same way as eggdrop modules.
Just like in eggdrop, you can compile all the modules, but you don't need to load them. In eggdrop you place a confil line, to cause the load procedure.
In Tcl you need a "package require" line, to import the library (be it a dynamic lib, or a Tcl script).
The TclLIB man page, shown the line required to load the FTP client portion.
$testes is surrounded by braces when issued on the ftp, but its not when I putserv testes into the channel.
Any ideas?
*edit* only when there is more then one word (e.g. if $testes = TEST, test would be issued with no races, if $testes = TEST TEST issue would be {TEST TEST}