egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Make Eggdrop Change a users flag?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Hawake
Voice


Joined: 30 Apr 2010
Posts: 3

PostPosted: Fri Apr 30, 2010 10:49 am    Post subject: Make Eggdrop Change a users flag? Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Apr 30, 2010 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hawake
Voice


Joined: 30 Apr 2010
Posts: 3

PostPosted: Fri Apr 30, 2010 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Apr 30, 2010 2:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hawake
Voice


Joined: 30 Apr 2010
Posts: 3

PostPosted: Sat May 01, 2010 7:55 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat May 01, 2010 11:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber