<--- I'm sorry this version is mysql only, it wont work without a server. But if you dont want it (a shame :p) you can still use version 1.4qw3rty wrote:Hi, I was going to try this script as my old script stopped working with TV.com changing their website. I do not need/want to use sql for simple !tv requests on irc, but it seems when i comment out the sql configuration options in the .tcl the script doesn't work? Is this correct? Is there no way to use this script now without having to use the sql function?
<--- its called version 1.4, but no i wont add all the new features without mysql. Why? because it would be a pain in the ass.qw3rty wrote:can you make a version that doesnt need mysql... that would be awesome
<--- yes i'll do that, i realize these install notes are kinda thinqw3rty wrote:or a more step by step tutorial would be nice. especially for us who dont know anything about mysql
I GOT IT WORKING!!!!!!!! WEEEEEEE!!! THANKS!!raktivist wrote:ok i got it to go online. but now its doing ->> (Max SendQ exceeded)
i think we forgot about the structure.txt part on the tutorial. :p
please advise.
Code: Select all
**** · **************************************
**** · Airing Date - Show Name - Episode Name
**** · **************2006-05-07**************
**** · 2006-05-07 - 60 Minutes - 39x18 - Sallie Mae / The Ethanol Solution / John Daly
**** · 2006-05-07 - American Dad - 1x22 - With Friends Like Steve's
**** · 2006-05-07 - Big Love - 1x09 - A Barbecue For Betty
**** · 2006-05-07 - Charmed - 8x20 - Gone With The Witches
**** · 2006-05-07 - Cold Case - 3x22 - The River
**** · 2006-05-07 - Crossing Jordan - 5x21 - Don't Leave Me This Way
**** · 2006-05-07 - Desperate Housewives - 2x21 - I Know Things Now
Actually this "structure.txt" is the tables structure but you dont need it if you make the bot create them (.initiate or something).raktivist wrote:i think we forgot about the structure.txt part on the tutorial. :p
please advise.
This is the major update in version 2.0: bot remembers each and everyone's preferences. So you define them once and then the bot will automatically pm you once a day with the shows you follow.raktivist wrote:Is there a way to select which shows to output when doing !today? I don't need to see ALL the series per day, because most of them are not interesting for me. Plus my bot gets kicked from the IRC network due to Flooding
Code: Select all
proc epwjoinmsg {nick host hand chan} {
global botnick epwcmdhelp
if {$nick != $botnick} {
putnotc $nick "Type !epinfo <show> -l <language> to get airing info, !whatson <day> -l <language> to get whats on tv (or !today | !yesterday)."
putnotc $nick "\00304NEW FEATURE\00310: you can now customize me so that I PM you with the info you need when you need it. Type $epwcmdhelp to know more."
}
join_proc $nick $host $hand $chan
}
I also managed to chage the dir to C:\mIRC\S01\lib\mysqltclset dir "/lib/mysqltcl"
proc loadmysqltcl { dir } {
set oldcwd [pwd]
cd $dir
load libmysqltcl[info sharedlibextension]
cd $oldcwd
}
package ifneeded mysqltcl 3.01 [list loadmysqltcl $dir]