I have test the script and add a Site now when i have only 1 site addet and i do !sites all is OK but when i have do more than 1 site addet and i do !sites my bot i crashing and i get :
|02:26:41| 10[02:2510] Sitedb.v1.0: Executing SELECT shortname FROM siteinfo WHERE channel='#*****'
|02:26:41| 10[02:2510] * Last context: tclhash.c/684 [Tcl proc: sites, param: $_pub1 $_pub2 $_pub3 $_pub4 $_pub5]
|02:26:41| 10[02:2510] * Please REPORT this BUG!
|02:26:41| 10[02:2510] * Check doc/BUG-REPORT on how to do so.
|02:26:41| 10[02:2510] * Wrote DEBUG
|02:26:41| 10[02:2510] * SEGMENT VIOLATION -- CRASHING!
I have the exact same problem. Its too bad, since its a good script, it seems. I've tried to reach the author at his irc channel #Gnumatic @ efnet, but the channel is empty I guess he abandonned this script. Anybody up for the job, fixing this issue?
The error here would be some incompability between mysqltcl and eggdrop, and not the tcl-script itself. Without proper bugreports containing bt's on coredumps, information on versions of eggdrop and other libraries, compiler-tools, etc; tracking down errors such as these is litteraly impossible.
As a general rule of thumb, tcl-scripts themselves don't cause segment violations.