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 

Login/logout system

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


Joined: 17 Jan 2013
Posts: 1

PostPosted: Thu Jan 17, 2013 7:49 am    Post subject: Login/logout system Reply with quote

Hi, where can I found any information about login/logout system for public users? I need something like this:
user joins channel, sends message to bot (for example: /msg BotName login UserName Password) and if username and password is correct user gets extra rights. I will use mysql.
What about logout? When user should be disconnected, when he leaves the channel? Is it safe enough?
I couldn't found any scripts like this, maybe you guys know where I can get one as an example (no matter or it's with mysql or with .txt files).
The most important part for me is when and how to logout user, and how to make it safe? Thank you!
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Jan 17, 2013 9:15 am    Post subject: Re: Login/logout system Reply with quote

alfredas wrote:
Hi, where can I found any information about login/logout system for public users? I need something like this:
user joins channel, sends message to bot (for example: /msg BotName login UserName Password) and if username and password is correct user gets extra rights.


This is built into Eggdrop.

http://www.egghelp.org/commands/irc.htm#msg_addhost
and down the page from there.

http://www.egghelp.org/commands/index.htm
for all commands.

http://www.egghelp.org/commands/core.htm#whois
for a list of flags.

Quote:

I will use mysql.
What about logout? When user should be disconnected, when he leaves the channel? Is it safe enough?
I couldn't found any scripts like this, maybe you guys know where I can get one as an example (no matter or it's with mysql or with .txt files).
The most important part for me is when and how to logout user, and how to make it safe? Thank you!


Eggdrop "knows" users by their hostmask.
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 -> Scripting 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