4.2 Calling upon procedures
A procedure is nothing more than a set of commands that you can call upon anywhere
in your TCL script. You call upon a procedure by placing somewhere
in your script <procedure> [parameters] (i.e.
in an other procedure, somewhere between brackets or just
in your main script).
These procedures perform a set of commands which, for example,
can return a value after checking a few factors or can send
something to the IRC server immediantly.
|