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

Guide to TCL scripting for Eggdrop 1.6


[ Previous ] [ Index ] [ Next ]


8.8 Writing your own script

Now lets expand the auto-voice scripts again and make it a small greeting script aswell.
Make it so that both channels are in the same list and that you can set a different greeting for two nicks that can support up to 2 lines, where the nick with its greeting is in the same list (this isn't very practical but it makes you use more of the commands you've learned so far). Also show the greeting on all the channels, not only the ones where the bot doesn't voice.
This is already a bit harder than the previous scripts, but not too difficult yet. You can find an example here: http://www.suninet.org/tclguide/example-ch8.tcl.
Also don't forget that this is an example, your script could do the very same thing and be completely different.


[ Previous ] [ Index ] [ Next ]


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