TCL Substring, How do you do it?

At first I was a bit confused on how to achieve a substring in TCL. Its not very clear and its not well documented, but in the end I found it. Here is it: set string "This is an example string" putserv "PRIVMSG #channel :Example: [string range $string 0 4]" # This would message #channel [...]


Connecting to MySQL using TCL

So, lately i’ve been playing around with tcl again, and trying to make it work alongside MySQL to store information such as Q auth’s and various other information on users. Its working quite well. We connect to MySQL through TCL using a package called mysqltcl. Here is how I connect: # First we require the [...]