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

Guide to TCL scripting for Eggdrop 1.6

[ Previous ] [ Index ] [ Next ]

8.2 Creating lists

You can create lists with the list command.
The syntax of a list command is list [object(s)].

The [object(s)] are the objects that you want in the list. You must seperate each object with a space and you can define specifically where an object starts and stops with braces like said above like said in the previous paragraph.

The list command outputs a list compiled of the objects that it was given.
For example list "test" {foo bar} "temp" would return a list in which the first object is "test", the second "foo bar" and the third "temp".

[ Previous ] [ Index ] [ Next ]

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