Never think of a script as sending DCC commands. Usualy, if there is a way to do somthing in DCC, you can do it in script without any of the facy stuff (with the exception of items that need to broadcast commands, and wait for replies).
See tcl-commands.doc for information on this.
Also note, the config file, in reality is just a plain Tcl script. Thus Tcl commands are being used to configure items like channels and servers.
The channels configuration shows a good example on how you set a channel -inactive in Tcl. So see the config fiel for an example.