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

Guide to TCL scripting for Eggdrop 1.6

[ Previous ] [ Index ] [ Next ]

7.6 Writing your own script

Now lets expand the small script you made in the previous chapter a bit.
Make the script work for only two channels which you can set at the beginning of the script in arrays.
If the channel matches one of those two let the bot auto-voice the user and if it doesn't than only send the welcome message to the channel.
If you want an example you can look here:

[ Previous ] [ Index ] [ Next ]

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