egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Another Mysql question.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
cashed
Voice


Joined: 15 Jan 2006
Posts: 3

PostPosted: Sun Jan 15, 2006 7:54 pm    Post subject: Another Mysql question. Reply with quote

ok I have a website that adds things to a mysql db now my question is what would be the best way for eggdrop to connect to this db and post in a channel when ever something new is added, and also make it be able to search the db and post the search results in chan with a search trigger from chan. FreeBSD 5.4 and mandrake is distros i have installed dont no if it would matter just FYI.

Maybe a Noob step by step page since i am a noob when it comes to this or point in the right direction sorry if i am posting this question in the wrong place.

Thanks-
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Jan 15, 2006 10:31 pm    Post subject: Reply with quote

the best way for eggdrop to do this would be via mysqltcl

the best way for you to make your eggdrop to do this would be learning by example (i.e. find a mysqltcl script and see how others have done it)
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
cashed
Voice


Joined: 15 Jan 2006
Posts: 3

PostPosted: Sun Jan 15, 2006 10:37 pm    Post subject: Reply with quote

thank you i will do some research.. but if anyone else has a script in mind plz let me know.
Back to top
View user's profile Send private message
BarkerJr
Op


Joined: 30 Mar 2003
Posts: 104

PostPosted: Sun Jan 15, 2006 10:44 pm    Post subject: Reply with quote

I think think my module is better than mysqltcl :)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cashed
Voice


Joined: 15 Jan 2006
Posts: 3

PostPosted: Sun Jan 15, 2006 10:49 pm    Post subject: Reply with quote

what is you mod?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Jan 15, 2006 11:00 pm    Post subject: Reply with quote

BarkerJr wrote:
I think think my module is better than mysqltcl Smile


well, it might be easier to use in eggdrop, but I doubt it provides some (or all) of the more advanced features of mysqltcl (variable binding, db info queries, SSL, etc.)

so you probably meant it's better for newbies, not better in general
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
BarkerJr
Op


Joined: 30 Mar 2003
Posts: 104

PostPosted: Sun Jan 15, 2006 11:09 pm    Post subject: Reply with quote

demond wrote:
so you probably meant it's better for newbies, not better in general


Ok, I can accept that. It's also harder to mess up your DBMS, since there aren't resources to worry about.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber