| View previous topic :: View next topic |
| Author |
Message |
cashed Voice
Joined: 15 Jan 2006 Posts: 3
|
Posted: Sun Jan 15, 2006 7:54 pm Post subject: Another Mysql question. |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jan 15, 2006 10:31 pm Post subject: |
|
|
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 |
|
 |
cashed Voice
Joined: 15 Jan 2006 Posts: 3
|
Posted: Sun Jan 15, 2006 10:37 pm Post subject: |
|
|
| thank you i will do some research.. but if anyone else has a script in mind plz let me know. |
|
| Back to top |
|
 |
BarkerJr Op

Joined: 30 Mar 2003 Posts: 104
|
Posted: Sun Jan 15, 2006 10:44 pm Post subject: |
|
|
| I think think my module is better than mysqltcl :) |
|
| Back to top |
|
 |
cashed Voice
Joined: 15 Jan 2006 Posts: 3
|
Posted: Sun Jan 15, 2006 10:49 pm Post subject: |
|
|
| what is you mod? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jan 15, 2006 11:00 pm Post subject: |
|
|
| 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] tag when posting logs, code |
|
| Back to top |
|
 |
BarkerJr Op

Joined: 30 Mar 2003 Posts: 104
|
Posted: Sun Jan 15, 2006 11:09 pm Post subject: |
|
|
| 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 |
|
 |
|