Smeggdrop is a safe, public Tcl interpreter for IRC chats.
Interpreter state is versioned with Git.
There are two version of smeggdrop. First one (original) is made for eggdrop. Second one is written in Perl and no longer requires eggdrop.
If you want to get the original smeggdrop (aka extension for eggdrop) visit http://github.com/shaniqua/smeggdrop
There is a small wiki with various stuff.