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.

eggrop with qauth user management

Old posts that have not been replied to for several years.
i
iamroot
Voice
Posts: 20
Joined: Sat Jul 09, 2005 5:47 am

eggrop with qauth user management

Post by iamroot »

I searched in google and in the script-archive but i was not able to finde something which works in the way i need.

I'm looking for a script, that eggdrop uses the qauths for user-management.

If a user joins a channel he checks the permissions of this user (based on qauth and not on hostmask) and give him e.g. op-status or voice. It should also be possible for a user to invite himself to a channel and bot checks access following qauth of the user.

Short summary of features:
*) Bot authenticates automatically the user when he joins channel base on the qauth
*) User is able to invite himself to a channel (where he has permission through the bot) without any additional authentication (bot should check qauth).

whould be great if this channel-management is possible through a webinterface (php?) but this is more a dream ;)

so my whish is, that Bot doesn't use hostmasks (is not working for my needs) but qauth instead.

bot should work in several public channels and make invitation to several privat channels based on qauths. he should also secure the privat channels (if someone joins and he's not in list for this channel, user should be kicked and banned).
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

you want to duplicate Q's functionality? why?

if you have a channel registered with Q or any other channel service, the users of that service should use the service itself directly; forcing a bot to act as a service proxy is pointless

the only sane "services" script that I can think of would be one which keeps the userlists in sync, but that's completely different matter
i
iamroot
Voice
Posts: 20
Joined: Sat Jul 09, 2005 5:47 am

Post by iamroot »

i've in most channels "only" L and this is very limited (eg. only 30 users in permission list, no protection that only known users could join because manual invitation from op's is still possible, ...) and i'd like to add more functions to my bot.

i'd like some q-functions with additional functions in channels with only L - currently i use a mirc-bot and i would prefere a eggdrop.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

ah, I gather that L stands for "light" service... I'm afraid quakenet will never get me on hehe
i
iamroot
Voice
Posts: 20
Joined: Sat Jul 09, 2005 5:47 am

Post by iamroot »

yes, L is very light - it's ok for basics and to secure channel for take-over (a bot could be flooded or disconnect) but you are very limited.

so i need my bot running instead of Q.

in quakenet you have one user-database and this is behind Q - you authenticate with a QAUTH and Password there and then you have in your whois the QAUTH - L checks only for your qauth.

i don't need a own user-database and my bot should work as easy as possible for the users and so i'd like that my bot checks the qauth (password is not needed because you don't get your qauth without password).

user connects, auth's himself @ Q, user is then authed @ Q and in whois you could see the qauth, my bot checks every user which connects to my channels or asks for invitation for qauth in whois and checks this with his own channel permission if this qauth has some permissions or not.
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

You can download the Qbot script as found in the tcl archive, You will simply have to add some of your own functions to it :)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I now see your point

but in order to be able to differentiate between users and their rights for a particular channel of yours, you still need to maintain a bot userlist, no? that cannot be accomplished by checking qauth alone
i
iamroot
Voice
Posts: 20
Joined: Sat Jul 09, 2005 5:47 am

Post by iamroot »

yes, i need a list for each channel - maybe in some kind of text-only file with semicolon seperated.

in the file should be:

qauth permissionlevel (eg. level 1-5 where 1 is allowedtoinvited, 2 is autovoice and 3 is autoop, 4 is channelmaster and 5 is globalbotowner)


this would be enough for userlist - for each channel a file and the bot fetchs from a whois (/msg q whois CURRENTNICK) the qauth from a user and checks for the channel where the users joins or where he'd like to invite.

EDIT: qbot script? i didn't find something like this but i'll search again. i'm not realy a programmer so if there is some script which works nealy following my needs i think i'll need some help to change following my needs :oops:
D
Dizzle
Op
Posts: 109
Joined: Thu Apr 28, 2005 11:21 am
Contact:

Post by Dizzle »

dont beleive that ppl @ q-net really dont have enough on L, well its not as handy as the Q bot, butt it does it job to give +av or +ao and keep the channel too yourself.

And when you really have so many ppl in your channel that L cant rigester them all, request Q ;)
i
iamroot
Voice
Posts: 20
Joined: Sat Jul 09, 2005 5:47 am

Post by iamroot »

i tried now this qbot but it still works with own user-database and recognize the user with hostmask and not qauth like i need.

to get Q you need min. 50 users permanently in the channel for 2 weeks - in L you could register max. 30 users with flags and you don't could keep your channel clean (manual invitation from ops is still possible).

I've channels where i need 50-60 users with there flags but i've at the same time normaly 30-40 connected (so to less for Q and to much for L). And it's not realy possible to get now 20-30 idlers for 2 weeks in an internal channel ;)

Currently i use a mirc-bot (works with qauth) but i'd like to switch to eggdrop because of some usefull scripts and stability.
r
r0t3n
Owner
Posts: 507
Joined: Tue May 31, 2005 6:56 pm
Location: UK

Post by r0t3n »

Can i just say. If you cant get Q bot. Then you dont need Q bot for your channel. You need 50+ real users for 2 weeks to get Q bot. So your channel is not big enough... So you dont need Q or a bot like Q.
r0t3n @ #r0t3n @ Quakenet
i
iamroot
Voice
Posts: 20
Joined: Sat Jul 09, 2005 5:47 am

Post by iamroot »

Tosser^^ wrote:Can i just say. If you cant get Q bot. Then you dont need Q bot for your channel. You need 50+ real users for 2 weeks to get Q bot. So your channel is not big enough... So you dont need Q or a bot like Q.
and how would you like to manage a channel where you need ~ 50-60 users but not permanently connected? (internal channels from online games).

with L you could only manage 30 users and for Q we don't have enough connected permanently.

i'm only looking for a replacement of my mirc-bot which does currently this job.
r
r0t3n
Owner
Posts: 507
Joined: Tue May 31, 2005 6:56 pm
Location: UK

Post by r0t3n »

get a bot from maybe #sicherheit and/or #chanbot
r0t3n @ #r0t3n @ Quakenet
i
iamroot
Voice
Posts: 20
Joined: Sat Jul 09, 2005 5:47 am

Post by iamroot »

Tosser^^ wrote:get a bot from maybe #sicherheit and/or #chanbot
i know this bots but i trust only something that i could manage by myself ;)

maybe there is someone who would like to programm something like this and if not, i've to continue using the mirc-bot (i asked the programmers there but they are not in tough with tcl and they don't have the time to re-programm there bot for eggdrop).
r
r0t3n
Owner
Posts: 507
Joined: Tue May 31, 2005 6:56 pm
Location: UK

Post by r0t3n »

I believe Metriod @ #development is making a Q9 project. Ask metriod maybe he could help.
r0t3n @ #r0t3n @ Quakenet
Locked