Tcl scripting for eggdrop IRC bot
The latest fun thing i’m working on is a few scripts for “Revbot” in the Revision3 IRC channel. Should be a great time since i’m learning to Tcl (pretty straight forward so far), and i love learning new languages.
Anyway, the first one i’m working on is called “User Profile Search”. Pretty basic.
You type in..
“!profile thurloat”
and the bot will come back with all the social sites i’ve listed for it. e.g. “Profile for user: Thurloat - twitter (link) , pownce (link) , etc”. Of course the user also needs to set the info, this will be done with a command like..
“/msg revbot updateprofile site=twitter user=thurloat”
I’ll be using a MySQL satabase to store all the user data in, for which i’ll need to hook myself up with the mysqltcl module. As far as any progress i’ve made on it so far: Reading lots of Tcl lit and configured my test bot i messed up my bot configuration, oops.
Before long i’ll be back with a real progress update.
I’ll include on what is going on with the other script when i get this one at least working, and i’ll upload it for anyone who is wanting when it’s completed.