This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Another Mysql question.

Help for those learning Tcl or writing their own scripts.
Post Reply
c
cashed
Voice
Posts: 3
Joined: Sun Jan 15, 2006 7:38 pm

Another Mysql question.

Post by cashed »

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-
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
c
cashed
Voice
Posts: 3
Joined: Sun Jan 15, 2006 7:38 pm

Post by cashed »

thank you i will do some research.. but if anyone else has a script in mind plz let me know.
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

I think think my module is better than mysqltcl :)
c
cashed
Voice
Posts: 3
Joined: Sun Jan 15, 2006 7:38 pm

Post by cashed »

what is you mod?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

BarkerJr wrote:I think think my module is better than mysqltcl :)
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: Select all

 tag when posting logs, code
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

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.
Post Reply