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.

Op/Voice on Login, no hostmask

Old posts that have not been replied to for several years.
Locked
e
el capitan

Op/Voice on Login, no hostmask

Post by el capitan »

As a dialup user, my hostmask is always changing and if I make it too general, is easy to forge.

I would like my eggdrop bot to op or voice its users by requiring them to "logon" to the bot with their password, rather than detecting their hostmask?

I have searched around and can't find out how anywhere...if someone could help me I would be most grateful, thanks :)
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

not sure of what you meant exactly but ... :)

opping or voicing should require a hostmask match, and a password, normally (unless you've added +a/+g/+autoop chanset/+autovoice chanset).

or maybe you want to disable msgop and only allowing people to op up in a dcc session? if so, add the following to your config

Code: Select all

unbind msg - op *msg:op
photon?
e
el capitan

Post by el capitan »

let me try and explain.....

Take the chanserv on gamesnet or Q/L bot on IRC as an example....

When a user logs on to irc, and join a channel where they have op flags, Q/L/Chanserv won't automatically op them, based on their hostmask.

Once the user is logged in to Q/L/Chanserv it will op them

I would like it so that rather than doing it by hostmask, when a user logs on to the bot it will op them in any channel where they have those flags...

Thanks for helping btw :)
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

You should have a part of the hostmask all the time when you get online. Something like the first two from your ip, eg. 123.123.something.something.
Once the game is over, the king and the pawn go back in the same box.
e
el capitan

Post by el capitan »

yeah but I know this is easy to forge, plus as a dialup user its constantly changing
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

As you've said, if they don't know your password what can *they* do? Nothing.. Don't you get it that it's the same thing with or without hostmasks as you want. You still need to suply a password..
Once the game is over, the king and the pawn go back in the same box.
e
el capitan

Post by el capitan »

when my bot recognises me it ops me, before i enter a password...plus i do have one set :/
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Then remove the autoop and add a mask like I've told you a few moments ago.
Once the game is over, the king and the pawn go back in the same box.
e
el capitan

Post by el capitan »

autoop is currently removed...

see the problem is, people kept forging my old masks that i used and using it to op themselves
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

As far as I know there is a bit impossible (due the high costs) that your hostmask to change entierly when you connect from the same ISP, I doubt they got such a *feature*.. Read up what I've said about hostmasks and try to make one that will match all hostmasks when you get online. Also, to make it even "harder" put the ident and nick..
Once the game is over, the king and the pawn go back in the same box.
e
el capitan

Post by el capitan »

its more the "forging" bit im worried about, users can change their hostmask to practically anything and I don't want people doing this to gain op access...anyway thanks :)
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

umm... just load a "loginscript" and modify it to your needs, I bet there is alot of scripts like that in the tcl-archive
Elen sila lúmenn' omentielvo
e
el capitan

Post by el capitan »

i did search that list, plus many others and couldn't find one...most i found were just login to auth services to auto-op the BOT scripts, no login scripts....sorry about the trouble im causing, im a bit of a n00b with this stuff, I would be able to modify the login script however...although I can't find a login script :)

thanks again
Locked