| View previous topic :: View next topic |
| Author |
Message |
blake Master
Joined: 23 Feb 2009 Posts: 201
|
Posted: Tue Feb 15, 2011 10:14 am Post subject: read from mysql db |
|
|
Im looking for something around these lines
What i`m looking for is a script that will check nicknames on connect with a database if they are registered with my website it will allow them in and set there asl details from the db if no asl is detected in the db it should priv msg them with your asl details seem to not be set in your profile please contact an administrator to have these details added to your profile
if they are not registered it will kill the nickname with a message of this nickname appears to not have been registered please visit website to register a nickname to use the chat services there should also be some sort of an exempt rule for nicknames i set ie these will be other eggdrop bots or services nicknames
if any one could help with this it will be a great help _________________ Blake
UKEasyHosting UKStormWatch |
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Tue Feb 15, 2011 11:17 pm Post subject: |
|
|
This will need more than just an eggdrop script. You'll need a services that can export to MySQL (like the newer anope or atheme), some timed bridge between the website's database and the services database and finally a script that can query with the services database.
I like the idea of an integrated services and website users profile. But I don't think killing users not registered on your website is all that good of an idea. It pretty much removes the word of mouth and "Come to this cool IRC server" referrals. Most people wouldn't bother with the 15 minutes this will take and if they are too fast for the bridge to update the changes, they'll still get killed when they join. They'll probably end up not bothering and seeking another network without it, possibly dragging their friends and part of your user base with them. But Ultimately, it's your network and your choice. _________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
|