SUNiNET - Your Eggdrop & TCL resources site
[ Home Eggdrop TCL Links About ]

Guide to TCL scripting for Eggdrop 1.6


[ Previous ] [ Index ] [ Next ]


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.


[ Previous ] [ Index ] [ Next ]


Design & Graphics by Shawn Borton
Copyright © 2000-2005 Marijn van Zon