| View previous topic :: View next topic |
| Author |
Message |
Hawake Voice
Joined: 30 Apr 2010 Posts: 3
|
Posted: Fri Apr 30, 2010 10:49 am Post subject: Make Eggdrop Change a users flag? |
|
|
I'm new to egg bot and i got the egg bot since we currently have problems to keep our channel opp ed by humans and i have read that you can make the egg bot set certain flags on users if you ask the bot so i wonder how can you set up so the bot does that?
something like: /MSG bot need-op "password" and then it would give Op to the user who wrote it
Tell me if you need to know more about my problem or so and i will try to explain how i mean that i want the bot to do.
// Hawake |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Apr 30, 2010 2:03 pm Post subject: |
|
|
See the .adduser and/or .+user dcc partyline commands to add new users to your bot.
Then use the .chattr command to give them proper permissions (see .help whois for a basic list of different flags - permissions).
Remind the user to set a password using "/MSG yourbot PASS newpass"
Tell the user that (s)he can get op using "/MSG yourbot OP password" _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Hawake Voice
Joined: 30 Apr 2010 Posts: 3
|
Posted: Fri Apr 30, 2010 2:33 pm Post subject: |
|
|
| nml375 wrote: | See the .adduser and/or .+user dcc partyline commands to add new users to your bot.
Then use the .chattr command to give them proper permissions (see .help whois for a basic list of different flags - permissions).
Remind the user to set a password using "/MSG yourbot PASS newpass"
Tell the user that (s)he can get op using "/MSG yourbot OP password" |
Okay, but it seems like i cannot get in partyline or dcc with the bot, it gives me a telnet error, and a mate told me that if you disabled the telnet module it should work so how do i disable/remove the telnet module? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Apr 30, 2010 2:51 pm Post subject: |
|
|
There is no telnet module, and never has been one.
Have you created your owner account, and set a password yet? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Hawake Voice
Joined: 30 Apr 2010 Posts: 3
|
Posted: Sat May 01, 2010 7:55 am Post subject: |
|
|
I managed to get in dcc with my bot and added the users i wanted, now the problem is that i gave my test user a few flags, he gets op when he joins the channel if he writes something in the channel wich is good!, but i really dont like when its like that, since then anybody could take his nickname and write and get op and then do a channel takeover, so how do i make it like i mentioned earlier? that you need to msg the bot that you want op and then a password set in the config file or something?
it could work to have it as it is since our channel isn't that big as it is, but i really dont want to risk that happening.
Thanks for the help with the other commands btw  |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat May 01, 2010 11:03 am Post subject: |
|
|
Which flags did you grant this user?
To have the user manually request op, they should have the +o flag, but not the +a flag. You could also grant them the +f flag, if you want them excluded from flooding and similar.
Further, to restrict whom may be able to impersonate this user, take care when setting up "hostmasks". A hostmask is a pattern that is matched against the "nick!user@host" as shown on irc, the pattern can contain * to match 0 or more characters, and ? to match one single character, as well as explicit strings:
*!user@shell1.example.com as an example would match anyone connecting from shell1.example.com while logged on as user - regardless of what nickname they use on irc.
You can use the .whois command to see what hostmasks have been added to the user record. You can then user the .+host and/or .-host command to add/remove hostmasks from the user record as needed. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|