| View previous topic :: View next topic |
| Author |
Message |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Fri Feb 29, 2008 9:52 am Post subject: Let users add themselves |
|
|
How would I let users add themselves to the bot so I dont have to do everyone manually? And once added what do I need to set to have them then get auto-opped in each channel the bots are in?
TIA |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
|
| Back to top |
|
 |
intel Halfop
Joined: 26 Feb 2008 Posts: 57
|
Posted: Fri Feb 29, 2008 11:29 am Post subject: |
|
|
| thats not what I mean. I do not want autoop on. Like now I add people manually then do say .+user user then .+host user *!*user*@xxx.xxx.xxx.xxx then chattr user +ao #whatever I thought there would be a way for the user to add themselves to the bot and then once added it could assign those flags . Doing it manually (having to do a whois on all the users to get host) is kinda pain. I was just hoping there was a automated way of doing it. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Feb 29, 2008 2:25 pm Post subject: |
|
|
As for letting users add themselves; quoted from the dist configfile:
| Quote: | # If you want people to be able to add themselves to the bot's userlist
# with the default userflags (defined above in the config file) via the
# 'hello' msg command, set this to 1.
set learn-users 0
|
As for adding hosts, see the IDENT and ADDHOST msg-commands.
As botmaster/botowner, you may also add/remove additional hosts to the user in question using .+host/.-host (in dcc) and so forth.. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
strikelight Owner

Joined: 07 Oct 2002 Posts: 708
|
Posted: Fri Feb 29, 2008 7:18 pm Post subject: |
|
|
| If you just don't want to lookup the user's host when you add them, and don't want to manually set the flags when adding them, edit your conf file for default-flags, and add users from the partyline with .adduser !<NICK> (notice the ! infront of <NICK>), which will automatically have the bot automatically use that user's host, assuming that user is on some channel with the bot. |
|
| Back to top |
|
 |
|